[gedit-plugins/gnome-3-0] synctex: pass the right amount of params



commit d9919fe691ba2de3a3a1ad141dc801e4968d79e1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jul 15 11:46:20 2011 +0200

    synctex: pass the right amount of params

 plugins/synctex/synctex/synctex.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/synctex/synctex/synctex.py b/plugins/synctex/synctex/synctex.py
index 7a0daac..86dc7c1 100644
--- a/plugins/synctex/synctex/synctex.py
+++ b/plugins/synctex/synctex/synctex.py
@@ -232,7 +232,7 @@ class SynctexWindowHelper:
             self.add_helper(view, window)
 
         self.handlers = [
-            window.connect("tab-added", lambda w, t: self.add_helper(t.get_view(),w, t)),
+            window.connect("tab-added", lambda w, t: self.add_helper(t.get_view(), w)),
             window.connect("tab-removed", lambda w, t: self.remove_helper(t.get_view())),
             window.connect("active-tab-changed", self.on_active_tab_changed)
         ]



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