From 436d8d3104a2de219618964157a84f873437d730 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:08:32 +0000 Subject: Add a comment explaining why we activate the event in an idle. svn path=/trunk/; revision=2303 --- src/empathy-status-icon.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3