[pygobject/pygtk-compat: 2/10] Remove first argument returned from Gdk.Window.get_origin() which is not used



commit e83f0cefc6c982d9618eed69721dd939b4b22f80
Author: Johan Dahlin <johan gnome org>
Date:   Thu Mar 15 15:22:31 2012 -0300

    Remove first argument returned from Gdk.Window.get_origin() which is not used

 gi/overrides/Gdk.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gi/overrides/Gdk.py b/gi/overrides/Gdk.py
index c48a242..283b784 100644
--- a/gi/overrides/Gdk.py
+++ b/gi/overrides/Gdk.py
@@ -111,6 +111,9 @@ else:
         def cairo_create(self):
             return Gdk.cairo_create(self)
 
+        def get_origin(self):
+            return super(Window, self).get_origin()[1:]
+
     Window = override(Window)
     __all__.append('Window')
 



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