[Xfce4-commits] <xfce4-power-manager:master> Don't attach to the status icon if libnotify >= 0.7.

Nick Schermer noreply at xfce.org
Fri Mar 25 08:18:01 CET 2011


Updating branch refs/heads/master
         to 9bc8900b4efef29fdc06331b028c7108df15b856 (commit)
       from f39d1e987d7d3507075bd54e402416dead58f4a0 (commit)

commit 9bc8900b4efef29fdc06331b028c7108df15b856
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Mar 25 08:11:33 2011 +0100

    Don't attach to the status icon if libnotify >= 0.7.

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

diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index c93a843..311b0fd 100644
--- a/src/xfpm-notify.c
+++ b/src/xfpm-notify.c
@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
 #if !NOTIFY_CHECK_VERSION (0, 7, 0) 
     if ( icon )
     	notify_notification_attach_to_status_icon (n, icon);
-#else
-    if ( icon )
-    	notify_notification_attach_to_status_icon (n, icon);
 #endif
 #endif
 	



More information about the Xfce4-commits mailing list