svn path=/trunk/; revision=2291
MISSION_CONTROL_REQUIRED=4.61
ENCHANT_REQUIRED=1.2.0
ISO_CODES_REQUIRED=0.35
-LIBNOTIFY_REQUIRED=0.4.5
+LIBNOTIFY_REQUIRED=0.4.4
# Uncomment that to build with deprecated symbols disabled
#AC_DEFINE(G_DISABLE_DEPRECATED, [], [Disable deprecated GLib symbols])
chat_window_notification_closed_cb (NotifyNotification *notify,
EmpathyChat *chat)
{
- int reason;
+ int reason = 1;
+#ifdef notify_notification_get_closed_reason
reason = notify_notification_get_closed_reason (notify);
+#endif
if (reason == 2) {
g_idle_add ((GSourceFunc) notification_closed_idle_cb, chat);
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;