[pygobject] [gi-overrides] fix typo in GtkTable constructor



commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
Author: John (J5) Palmieri <johnp redhat com>
Date:   Tue Feb 15 14:46:41 2011 -0500

    [gi-overrides] fix typo in GtkTable constructor

 gi/overrides/Gtk.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 6383f43..543837a 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -1144,12 +1144,12 @@ __all__.append('Adjustment')
 class Table(Gtk.Table, Container):
     def __init__(self, rows=1, columns=1, homogeneous=False, **kwds):
         if 'n_rows' in kwds:
-            rows = n_rows
-            del(kwds[n_rows])
+            rows = kwds['n_rows']
+            del(kwds['n_rows'])
 
         if 'n_columns' in kwds:
-            columns = n_columns
-            del(kwds[n_columns])
+            columns = kwds['n_columns']
+            del(kwds['n_columns'])
             
         Gtk.Table.__init__(self, n_rows=rows, n_columns=columns, homogeneous=homogeneous, **kwds)
 



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