[gedit-plugins/wip/python3] Another fix



commit 24bb46e8a6bcf328da7f03dbb89d45e38883f276
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Nov 6 19:51:51 2012 +0100

    Another fix

 plugins/commander/commander/commands/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/commander/commander/commands/__init__.py b/plugins/commander/commander/commands/__init__.py
index 49a1e90..8e6f1b8 100644
--- a/plugins/commander/commander/commands/__init__.py
+++ b/plugins/commander/commander/commands/__init__.py
@@ -444,7 +444,7 @@ class Commands(Singleton):
                 return
 
             if path in self._timeouts:
-                GObject.source_remove(self._timeouts[path])
+                GLib.source_remove(self._timeouts[path])
 
             # We add a timeout because a common save strategy causes a
             # DELETE/CREATE event chain
@@ -454,7 +454,7 @@ class Commands(Singleton):
 
             # Check if this CREATE followed a previous DELETE
             if path in self._timeouts:
-                GObject.source_remove(self._timeouts[path])
+                GLib.source_remove(self._timeouts[path])
                 del self._timeouts[path]
 
             # Reload the module



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