From 8342b85b9101219a3354621be3e8552130235ef0 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Wed, 10 Jun 2020 11:41:49 -0400 Subject: [PATCH] gtk: Fix a couple of deprecations --- usr/lib/linuxmint/mintMenu/mintMenu.py | 2 -- usr/lib/linuxmint/mintMenu/preferences.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 6d22812..ffa4312 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -21,8 +21,6 @@ import pointerMonitor import setproctitle from plugins.execute import Execute -GObject.threads_init() - # Rename the process setproctitle.setproctitle('mintmenu') diff --git a/usr/lib/linuxmint/mintMenu/preferences.py b/usr/lib/linuxmint/mintMenu/preferences.py index bfa6c0c..fd92981 100755 --- a/usr/lib/linuxmint/mintMenu/preferences.py +++ b/usr/lib/linuxmint/mintMenu/preferences.py @@ -49,8 +49,8 @@ class mintMenuPreferences(): def __init__(self): - self.settings = Gio.Settings("com.linuxmint.mintmenu") - self.places_settings = Gio.Settings("com.linuxmint.mintmenu.plugins.places") + self.settings = Gio.Settings(schema_id="com.linuxmint.mintmenu") + self.places_settings = Gio.Settings(schema_id="com.linuxmint.mintmenu.plugins.places") self.builder = Gtk.Builder() self.builder.set_translation_domain("mintmenu")