empathy r2303 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2303 - trunk/src
- Date: Fri, 30 Jan 2009 17:08:32 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 30 17:08:32 2009
New Revision: 2303
URL: http://svn.gnome.org/viewvc/empathy?rev=2303&view=rev
Log:
Add a comment explaining why we activate the event in an idle.
Modified:
trunk/src/empathy-status-icon.c
Modified: trunk/src/empathy-status-icon.c
==============================================================================
--- trunk/src/empathy-status-icon.c (original)
+++ trunk/src/empathy-status-icon.c Fri Jan 30 17:08:32 2009
@@ -102,6 +102,10 @@
* 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]