[Xfce4-commits] <xfce4-power-manager:master> fix libnotify detection of notify_notification_attach_to_status_icon.

Ali Abdallah noreply at xfce.org
Mon Jun 27 16:18:01 CEST 2011


Updating branch refs/heads/master
         to 41ddd1adfc2d0f527a977a6202ff67785bb414d9 (commit)
       from 0cc3dfcfdc5872240c06fd94c241d3783cb42459 (commit)

commit 41ddd1adfc2d0f527a977a6202ff67785bb414d9
Author: Yves-Alexis Perez <corsac at debian.org>
Date:   Mon Jun 27 16:15:18 2011 +0200

    fix libnotify detection of notify_notification_attach_to_status_icon.

 src/xfpm-notify.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index 311b0fd..9b485aa 100644
--- a/src/xfpm-notify.c
+++ b/src/xfpm-notify.c
@@ -234,6 +234,9 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
     if ( icon )
     	notify_notification_attach_to_status_icon (n, icon);
 #endif
+#else
+     if ( icon )
+     	notify_notification_attach_to_status_icon (n, icon);
 #endif
 	
     notify_notification_set_urgency (n, (NotifyUrgency)urgency);



More information about the Xfce4-commits mailing list