[pygobject] Use correct class for GtkEditable's get_selection_bounds() function



commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
Author: Mike Ruprecht <mike ruprecht collabora co uk>
Date:   Sun Apr 28 01:40:34 2013 -0500

    Use correct class for GtkEditable's get_selection_bounds() function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699096

 gi/overrides/Gtk.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index ab09a26..9a6e1a3 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -115,7 +115,7 @@ class Editable(Gtk.Editable):
     def insert_text(self, text, position):
         return super(Editable, self).insert_text(text, -1, position)
 
-    get_selection_bounds = strip_boolean_result(Gtk.TextBuffer.get_selection_bounds, fail_ret=())
+    get_selection_bounds = strip_boolean_result(Gtk.Editable.get_selection_bounds, fail_ret=())
 
 
 Editable = override(Editable)


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