diff options
Diffstat (limited to 'olpcgames/eventwrap.py')
-rw-r--r-- | olpcgames/eventwrap.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/olpcgames/eventwrap.py b/olpcgames/eventwrap.py index d20091c..f5ac52c 100644 --- a/olpcgames/eventwrap.py +++ b/olpcgames/eventwrap.py @@ -29,11 +29,11 @@ log = logging.getLogger( 'olpcgames.eventwrap' ) from pygame.event import Event, event_name, pump as pygame_pump, get as pygame_get -class Event(GObject.Object): +class Event(GObject.GObject): """Mock pygame events""" def __init__(self, type, dict=None,**named): """Initialise the new event variables from dictionary and named become attributes""" - GObject.Object.__init__(self) + GObject.GObject.__init__(self) self.type = type if dict: self.__dict__.update( dict ) @@ -71,14 +71,14 @@ class Event(GObject.Object): except AttributeError, err: pass -class CallbackResult( GObject.Object ): +class CallbackResult( GObject.GObject ): def __init__( self, callable, args, named, callContext=None ): """Perform callback in Pygame loop with args and named callContext is used to provide more information when there is a failure in the callback (for debugging purposes) """ - GObject.Object.__init__(self) + GObject.GObject.__init__(self) self.callable = callable self.args = args self.named = named |