[gnome-tweaks/pos-arguments: 47/47] tweak_group_font: Use optional parameters syntax
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks/pos-arguments: 47/47] tweak_group_font: Use optional parameters syntax
- Date: Wed, 12 Sep 2018 11:54:46 +0000 (UTC)
commit 770fa0e848104854bffe2cd74731dfa58ad9cb47
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]