[gedit] Fix python runtime warning



commit d6cf85fdaee59320e806598be562931694b89d4d
Author: Paolo Borelli <porelli gnome org>
Date:   Sat Jul 4 12:31:43 2009 +0200

    Fix python runtime warning

 plugins/externaltools/tools/outputpanel.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/externaltools/tools/outputpanel.py b/plugins/externaltools/tools/outputpanel.py
index 6820cf2..04f056d 100644
--- a/plugins/externaltools/tools/outputpanel.py
+++ b/plugins/externaltools/tools/outputpanel.py
@@ -168,10 +168,10 @@ class OutputPanel(UniqueById):
             self.update_cursor_style(view, event.x, event.y)
 
         return False
-    
+
     def on_view_visibility_notify_event(self, view, event):
         if event.window == view.get_window(gtk.TEXT_WINDOW_TEXT):
-            x, y = event.window.get_pointer()
+            x, y, m = event.window.get_pointer()
             self.update_cursor_style(view, x, y)
 
         return False



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