]> git.0d.be Git - empathy.git/commitdiff
Add a comment explaining why we activate the event in an idle.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:08:32 +0000 (17:08 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:08:32 +0000 (17:08 +0000)
svn path=/trunk/; revision=2303

src/empathy-status-icon.c

index d1907531823ab6b8a1991f75e52154af06c7de87..f6496003e3f5bc74a9f4ae6a3589d5ceb7a752e5 100644 (file)
@@ -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 */