[pygobject] pass exta keywords to the Box constructor
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pass exta keywords to the Box constructor
- Date: Sun, 14 Aug 2011 09:26:37 +0000 (UTC)
commit ffd057649380d4249c1c52e1225e3646f3994bc6
Author: John (J5) Palmieri <johnp redhat com>
Date: Sun Aug 14 05:26:18 2011 -0400
pass exta keywords to the Box constructor
gi/overrides/Gtk.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 6fd7c99..2aea6ad 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -310,8 +310,8 @@ __all__.append('ComboBox')
class Box(Gtk.Box):
- def __init__(self, homogeneous=False, spacing=0):
- super(Box, self).__init__()
+ def __init__(self, homogeneous=False, spacing=0, **kwds):
+ super(Box, self).__init__(**kwds)
self.set_homogeneous(homogeneous)
self.set_spacing(spacing)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]