diff options
author | Steve Frécinaux <code@istique.net> | 2011-09-02 08:37:15 +0200 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2011-09-13 16:39:48 -0400 |
commit | 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd (patch) | |
tree | b054115b83d3bb73237b5eb2bf9ca004ee6dd6e7 /examples | |
parent | fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c (diff) | |
download | pygobject-3ace5c2e2268285a5dcb39889fcb2a71bc1063bd.tar.gz |
Drop legacy __gobject_init__ method of GObject.Object.
This method was used in gobject initialization at some point, but now
using GObject.__init__() is sufficient, so let's not keep this old
method around and let people misuse it.
https://bugzilla.gnome.org/show_bug.cgi?id=658032
Diffstat (limited to 'examples')
-rw-r--r-- | examples/signal.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/signal.py b/examples/signal.py index d06fb02d..d1b7357b 100644 --- a/examples/signal.py +++ b/examples/signal.py @@ -5,8 +5,6 @@ class C(GObject.GObject): 'my_signal': (GObject.SIGNAL_RUN_FIRST, GObject.TYPE_NONE, (GObject.TYPE_INT,)) } - def __init__(self): - self.__gobject_init__() # default constructor using our new GType def do_my_signal(self, arg): print "C: class closure for `my_signal' called with argument", arg |