Skip to content

Commit 1393175

Browse files
committed
move sdl2 providers below pygame
1 parent a98e77a commit 1393175

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

kivy/core/clipboard/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ def _paste(self):
120120
_clipboards.append(
121121
('android', 'clipboard_android', 'ClipboardAndroid'))
122122
elif _platform in ('macosx', 'linux', 'win'):
123-
_clipboards.append(
124-
('sdl2', 'clipboard_sdl2', 'ClipboardSDL2'))
125123
_clipboards.append(
126124
('pygame', 'clipboard_pygame', 'ClipboardPygame'))
125+
_clipboards.append(
126+
('sdl2', 'clipboard_sdl2', 'ClipboardSDL2'))
127127
_clipboards.append(
128128
('dummy', 'clipboard_dummy', 'ClipboardDummy'))
129129

kivy/core/image/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@ def load(filename):
817817
image_libs += [
818818
('tex', 'img_tex'),
819819
('dds', 'img_dds'),
820-
('sdl2', 'img_sdl2'),
821820
('pygame', 'img_pygame'),
821+
('sdl2', 'img_sdl2'),
822822
('ffpy', 'img_ffpyplayer'),
823823
('pil', 'img_pil'),
824824
('gif', 'img_gif')]

kivy/core/text/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ def _set_text_size(self, x):
664664

665665
# Load the appropriate provider
666666
Label = core_select_lib('text', (
667-
('sdl2', 'text_sdl2', 'LabelSDL2'),
668667
('pygame', 'text_pygame', 'LabelPygame'),
668+
('sdl2', 'text_sdl2', 'LabelSDL2'),
669669
('sdlttf', 'text_sdlttf', 'LabelSDLttf'),
670670
('pil', 'text_pil', 'LabelPIL'),
671671
))

0 commit comments

Comments
 (0)