[Sugar-devel] [PATCH sugar-toolkit-gtk3] Window: fixup of wrong conversion introduced by pygi-convert.sh

Simon Schampijer simon at schampijer.de
Thu Jan 19 09:19:58 EST 2012


With 820efa56b9876bb418bc51d30de959775930e35c
gtk.gdk.x11_get_server_time(window) wasn't correctly converted
to GdkX11.x11_get_server_time(window). Found when tesing
collaboration.

Signed-off-by: Simon Schampijer <simon at laptop.org>
---
 src/sugar3/graphics/window.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sugar3/graphics/window.py b/src/sugar3/graphics/window.py
index d7753e0..2d9764d 100644
--- a/src/sugar3/graphics/window.py
+++ b/src/sugar3/graphics/window.py
@@ -131,7 +131,7 @@ class Window(Gtk.Window):
             return
         timestamp = Gtk.get_current_event_time()
         if not timestamp:
-            timestamp = GdkX11.get_server_time(window)
+            timestamp = GdkX11.x11_get_server_time(window)
         window.focus(timestamp)
 
     def fullscreen(self):
-- 
1.7.7.5



More information about the Sugar-devel mailing list