Fixed crash in journal when mousing over activity icons

This commit is contained in:
William Orr 2013-05-05 23:14:57 -04:00 committed by Daniel Narvaez
parent ba1abd4a33
commit 3a8760c9e4

View File

@ -994,9 +994,9 @@ class Invoker(GObject.GObject):
# menu item. We need to postpone destruction of the palette until
# after all signals have propagated from the menu item to the
# palette owner.
GObject.idle_add(lambda old_palette=self._palette:
old_palette.destroy(),
priority=GObject.PRIORITY_LOW)
GLib.idle_add(lambda old_palette=self._palette:
old_palette.destroy(),
priority=GObject.PRIORITY_LOW)
self._palette = palette