Revision: 8257 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8257&view=rev Author: ryanmay Date: 2010-04-20 20:01:28 +0000 (Tue, 20 Apr 2010)
Log Message: ----------- Remove imports from earlier development. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2010-04-20 19:59:23 UTC (rev 8256) +++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2010-04-20 20:01:28 UTC (rev 8257) @@ -103,14 +103,12 @@ upon timer events. This list can be manipulated directly, or the functions add_callback and remove_callback can be used. ''' - from gobject import timeout_add as _add_timeout - from gobject import source_remove as _remove_timeout def _timer_start(self): - self._timer = self._add_timeout(self._interval, self._on_timer) + self._timer = gobject.timeout_add(self._interval, self._on_timer) def _timer_stop(self): if self._timer is not None: - self._remove_timeout(self._timer) + gobject.source_remove(self._timer) self._timer = None def _timer_set_interval(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins