[pygobject] fix typo s/lenth/length



commit 0da687fa699aba4f42c42a924d6754e2bd47df50
Author: John (J5) Palmieri <johnp redhat com>
Date:   Thu Sep 15 17:59:31 2011 -0400

    fix typo s/lenth/length

 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 4b025ab..7945cc8 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -625,7 +625,7 @@ class TextBuffer(Gtk.TextBuffer):
     def set_text(self, text, length=-1):
         Gtk.TextBuffer.set_text(self, text, length)
 
-    def insert(self, iter, text, lenth=-1):
+    def insert(self, iter, text, length=-1):
         if not isinstance(text , _basestring):
             raise TypeError('text must be a string, not %s' % type(text))
 



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