[gnome-tweaks/pos-arguments] tweak_group_font: Use optional parameters syntax



commit 25a73723095542fad80c8ba1bf74063f5bb6bdb2
Author: Carlos Soriano <csoriano redhat com>
Date:   Tue Sep 4 11:19:25 2018 +0200

    tweak_group_font: Use optional parameters syntax
    
    Positional arguments for gobject properties has been deprecated.

 gtweak/tweaks/tweak_group_font.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtweak/tweaks/tweak_group_font.py b/gtweak/tweaks/tweak_group_font.py
index 3d7d61e..598ec9d 100644
--- a/gtweak/tweaks/tweak_group_font.py
+++ b/gtweak/tweaks/tweak_group_font.py
@@ -14,7 +14,7 @@ class FontXSettingsTweak(Gtk.Box, Tweak):
         Gtk.Box.__init__(self)
         Tweak.__init__(self, _("Hinting"), _("Antialiasing"))
 
-        self.settings = Gio.Settings("org.gnome.settings-daemon.plugins.xsettings")
+        self.settings = Gio.Settings(schema="org.gnome.settings-daemon.plugins.xsettings")
 
         self.set_spacing(12)
         self.props.margin_top = 12


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]