diff options
author | Simon Schampijer <simon@laptop.org> | 2013-01-23 13:13:14 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2013-01-31 20:32:15 (GMT) |
commit | 5082df3f24c88e150a7a79b5d1666f5784f8d2d1 (patch) | |
tree | 2d9a5fdba8df9fcb4f0a420dced4889c5b144c7c /cardlist.py | |
parent | 92a65d21932553b893c27f37eb12e77e56f05802 (diff) |
More gobject and gdk import fixups
Diffstat (limited to 'cardlist.py')
-rw-r--r-- | cardlist.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cardlist.py b/cardlist.py index 2e8f383..4a8d37e 100644 --- a/cardlist.py +++ b/cardlist.py @@ -38,9 +38,9 @@ class CardList(Gtk.EventBox): __gsignals__ = { 'pair-selected': (GObject.SignalFlags.RUN_FIRST, - None, 9 * [object]), + None, 9 * [GObject.TYPE_PYOBJECT]), 'update-create-toolbar': (GObject.SignalFlags.RUN_FIRST, - None, 3 * [object]), + None, 3 * [GObject.TYPE_PYOBJECT]), } def __init__(self): @@ -248,8 +248,10 @@ class CardList(Gtk.EventBox): class CardPair(Gtk.EventBox): __gsignals__ = { - 'pair-selected': (GObject.SignalFlags.RUN_FIRST, None, [object]), - 'pair-closed': (GObject.SignalFlags.RUN_FIRST, None, [object]), + 'pair-selected': (GObject.SignalFlags.RUN_FIRST, + None, [GObject.TYPE_PYOBJECT]), + 'pair-closed': (GObject.SignalFlags.RUN_FIRST, + None, [GObject.TYPE_PYOBJECT]), } def __init__(self, text1, text2=None, aimg=None, bimg=None, |