aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */