[Xfce4-commits] <xfce4-power-manager:master> Use NOTIFY_CHECK_VERSION.
Ali Abdallah
noreply at xfce.org
Tue Feb 15 21:32:02 CET 2011
Updating branch refs/heads/master
to 5a4acb6f69a17be1219fc89a9c4a3e4b141d3b51 (commit)
from d66cf04142c818689d83cdd0a315e3d3be657d9c (commit)
commit 5a4acb6f69a17be1219fc89a9c4a3e4b141d3b51
Author: Ali Abdallah <aliov at xfce.org>
Date: Tue Feb 15 21:30:57 2011 +0100
Use NOTIFY_CHECK_VERSION.
src/xfpm-notify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index 088f432..b9e96d4 100644
--- a/src/xfpm-notify.c
+++ b/src/xfpm-notify.c
@@ -216,7 +216,7 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
NotifyNotification *n;
n = notify_notification_new (title, message, NULL
-#ifdef HAVE_LIBNOTIFY_07
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
);
#else
, NULL);
@@ -225,7 +225,7 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
if ( icon_name )
xfpm_notify_set_notification_icon (n, icon_name);
-#ifndef HAVE_LIBNOTIFY_07
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
if ( icon )
notify_notification_attach_to_status_icon (n, icon);
#endif
More information about the Xfce4-commits
mailing list