Skip to content

Commit 3d4e67e

Browse files
authored
cs_windows.py: Properly import CDesktopEnums (#10844)
A PyGIWarning would be thrown into the console for not specifying version. This ensures the right version of CDesktopEnums is loaded.
1 parent 9ace2c4 commit 3d4e67e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/usr/share/cinnamon/cinnamon-settings/modules/cs_windows.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import gi
44
gi.require_version('Gtk', '3.0')
5+
gi.require_version('CDesktopEnums', '3.0')
56
from gi.repository import Gio, Gtk, CDesktopEnums
67

78
from SettingsWidgets import SidePage

0 commit comments

Comments
 (0)