Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox.py')
-rw-r--r--toolbox.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolbox.py b/toolbox.py
index 0646892..acd770b 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -816,10 +816,8 @@ class ImageToolbar(Gtk.Toolbar):
def invert_colors(self, widget):
window = self.get_window()
old_cursor = window.get_cursor()
- source_id = GObject.idle_add(self.set_watch_cursor, window)
- self._activity.area.invert_colors(widget, old_cursor,
- source_id, window)
+ GObject.idle_add(self.set_watch_cursor, window)
+ self._activity.area.invert_colors(widget, old_cursor, window)
def set_watch_cursor(self, window):
window.set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH))
- return True