aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:55 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:55 +0800
commit7fea45ce0c7e197a2e82b47f9828af573d592bc7 (patch)
treef80caba125a2e371e633979057516037078b160a /src/empathy-status-icon.c
parent34093170146c861cf5bb523857ca875996d3c165 (diff)
downloadgsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar.gz
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar.bz2
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar.lz
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar.xz
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.tar.zst
gsoc2013-empathy-7fea45ce0c7e197a2e82b47f9828af573d592bc7.zip
Make possible to use libnotify 0.4.4, to not force the usage of too recent distributions.
svn path=/trunk/; revision=2291
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 86a2c84fa..08293de55 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -83,10 +83,11 @@ status_icon_notification_closed_cb (NotifyNotification *notification,
EmpathyStatusIcon *icon)
{
EmpathyStatusIconPriv *priv = GET_PRIV (icon);
- int reason;
+ int reason = 1;
+#ifdef notify_notification_get_closed_reason
reason = notify_notification_get_closed_reason (notification);
-
+#endif
if (priv->notification) {
g_object_unref (priv->notification);
priv->notification = NULL;