ANNOUNCE: xfce4-power-manager 1.0.10 released

Christoph Wickert christoph.wickert at googlemail.com
Mon Feb 21 00:02:19 CET 2011


Am Sonntag, den 20.02.2011, 13:34 +0000 schrieb Ali Abdallah:
> xfce4-power-manager 1.0.10 is now available for download from
>   
>   http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/xfce4-power-manager-1.0.10.tar.bz2
>   http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/xfce4-power-manager-1.0.10.tar.bz2.md5
>   http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/xfce4-power-manager-1.0.10.tar.bz2.sha1

[...]
>       Fix compatibility with libnotify 0.7

Unfortunately this fix doesn't work. When building with libnotify 0.7.0
you'll get

xfce4_power_manager-xfpm-notify.o: In function `xfpm_notify_new_notification_internal':
/builddir/build/BUILD/xfce4-power-manager-1.0.10/src/xfpm-notify.c:238: undefined reference to `notify_notification_attach_to_status_icon'

This is because of

#ifdef NOTIFY_CHECK_VERSION
#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

notify_notification_attach_to_status_icon was dropped in libnotify
0.7.0, so the whole #else clause needs to be removed (it's the same as
#if anyway).

Regards,
Christoph




More information about the Xfce mailing list