diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:08:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:08:35 +0800 |
commit | 1c9be03bce0df01013d0d252e6e1711798d9c090 (patch) | |
tree | e9af98e0cafa3b6de533204be8596e983be617d5 /src/empathy-status-icon.c | |
parent | 436d8d3104a2de219618964157a84f873437d730 (diff) | |
download | gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar.gz gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar.bz2 gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar.lz gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar.xz gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.tar.zst gsoc2013-empathy-1c9be03bce0df01013d0d252e6e1711798d9c090.zip |
Prefix "Empathy" to the notification enum.
svn path=/trunk/; revision=2304
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r-- | src/empathy-status-icon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index f6496003e..97eab7c29 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -84,7 +84,7 @@ status_icon_notification_closed_cb (NotifyNotification *notification, EmpathyStatusIcon *icon) { EmpathyStatusIconPriv *priv = GET_PRIV (icon); - int reason = 1; + EmpathyNotificationClosedReason reason = 0; #ifdef notify_notification_get_closed_reason reason = notify_notification_get_closed_reason (notification); @@ -101,7 +101,7 @@ status_icon_notification_closed_cb (NotifyNotification *notification, /* the notification has been closed by the user, see the * DesktopNotification spec. */ - if (reason == NOTIFICATION_CLOSED_DISMISSED) { + if (reason == EMPATHY_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. |