[gnome-code-assistance] [backends/pycommon]: use GLib.Mainloop instead of deprecated one



commit c5ee1c404ba282e423423c35b2b823a803605743
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Nov 11 15:56:39 2013 +0100

    [backends/pycommon]: use GLib.Mainloop instead of deprecated one

 .../gnome/codeassistance/transport_dbus.py         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/backends/pycommon/gnome/codeassistance/transport_dbus.py 
b/backends/pycommon/gnome/codeassistance/transport_dbus.py
index 757a2f3..8d75966 100644
--- a/backends/pycommon/gnome/codeassistance/transport_dbus.py
+++ b/backends/pycommon/gnome/codeassistance/transport_dbus.py
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-from gi.repository import GObject, GLib
+from gi.repository import GLib
 
 import dbus, dbus.service, dbus.mainloop.glib
 import inspect, sys, os
@@ -189,7 +189,7 @@ class Transport():
         self.server = Server(bus, path, service, document)
 
     def run(self):
-        ml = GObject.MainLoop()
+        ml = GLib.MainLoop()
         ml.run()
 
 # ex:ts=4:et:


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