aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:32 +0800
commit436d8d3104a2de219618964157a84f873437d730 (patch)
treeec5bfe50a58c6fb0f2f338175bff3114ccd0a937
parent969df6cdc59df3e57c8c1619bd9a197124939c2d (diff)
downloadgsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar.gz
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar.bz2
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar.lz
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar.xz
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.tar.zst
gsoc2013-empathy-436d8d3104a2de219618964157a84f873437d730.zip
Add a comment explaining why we activate the event in an idle.
svn path=/trunk/; revision=2303
-rw-r--r--src/empathy-status-icon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index d19075318..f6496003e 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -102,6 +102,10 @@ status_icon_notification_closed_cb (NotifyNotification *notification,
* DesktopNotification spec.
*/
if (reason == NOTIFICATION_CLOSED_DISMISSED) {
+ /* use an idle here, as this callback is called from a
+ * DBus signal handler inside libnotify, and we might call
+ * a *_run_* method when activating the event.
+ */
g_idle_add ((GSourceFunc) activate_event, priv->event);
} else {
/* inhibit other updates for this event */