[empathy/gnome-2-28] empathy-status-icon: disable notification_action_cb if built without moblin



commit e2608a8d9baf93ca56e8e8f66e97099e0a256446
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Oct 2 18:45:41 2009 +0100

    empathy-status-icon: disable notification_action_cb if built without moblin

 src/empathy-status-icon.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 4ef0d82..c35a625 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -130,6 +130,7 @@ notification_close_helper (EmpathyStatusIconPriv *priv)
 	}
 }
 
+#ifdef HAVE_NBTK
 static void
 notification_action_cb (NotifyNotification *notification,
 			gchar              *action,
@@ -140,6 +141,7 @@ notification_action_cb (NotifyNotification *notification,
 	if (priv->event)
 		empathy_event_activate (priv->event);
 }
+#endif
 
 static void
 status_icon_update_notification (EmpathyStatusIcon *icon)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]