Blob Blame History Raw
From ee6acb86a42f81025704a3e5e53a68decf03640a Mon Sep 17 00:00:00 2001
From: Leigh Scott <leigh123linux@fedoraproject.org>
Date: Tue, 30 Jan 2018 10:28:43 +0000
Subject: [PATCH] fix some depreciation warnings (#49)

---
 usr/lib/blueberry/blueberry-obex-agent.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/lib/blueberry/blueberry-obex-agent.py b/usr/lib/blueberry/blueberry-obex-agent.py
index b63d46d..899475c 100755
--- a/usr/lib/blueberry/blueberry-obex-agent.py
+++ b/usr/lib/blueberry/blueberry-obex-agent.py
@@ -723,11 +723,11 @@ def on_unregister_failed(error):
         self._interface.UnregisterAgent(agent_path, reply_handler=on_unregistered, error_handler=on_unregister_failed)
 
 if __name__ == '__main__':
-    settings = Gio.Settings("org.blueberry")
+    settings = Gio.Settings(schema="org.blueberry")
     if settings.get_boolean("obex-enabled"):
         try:
             dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
-            mainloop = GObject.MainLoop()
+            mainloop = GLib.MainLoop()
             service = TransferService()
             service.load()
             cont = True