[gnome-tweaks/pos-arguments] 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] tweak_group_font: Use optional parameters syntax
- Date: Wed, 12 Sep 2018 11:55:41 +0000 (UTC)
commit c7c10b6a0cd349eff076e1eef7ef178c3105e858
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.
More information can be found at
https://wiki.gnome.org/Projects/PyGObject/InitializerDeprecations
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]