[gedit] quickopen: use the right constructor of row reference



commit bce504decbf7024d2175cacb6d53d6c0c43c1a25
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Mar 28 21:07:20 2013 +0100

    quickopen: use the right constructor of row reference

 plugins/quickopen/quickopen/popup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index 331ca6e..4945adb 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -380,7 +380,7 @@ class Popup(Gtk.Dialog):
             model, rows = selection.get_selected_rows()
             start = rows[0]
 
-            self._shift_start = Gtk.TreeRowReference(self._store, start)
+            self._shift_start = Gtk.TreeRowReference.new(self._store, start)
         else:
             start = self._shift_start.get_path()
 


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