[gnome-code-assistance] [backends/pycommon]: use GLib.Mainloop instead of deprecated one
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-code-assistance] [backends/pycommon]: use GLib.Mainloop instead of deprecated one
- Date: Mon, 11 Nov 2013 14:57:28 +0000 (UTC)
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]