[Xfce4-commits] <thunar-volman:master> Fix previous commit.

Nick Schermer noreply at xfce.org
Sun Dec 5 16:26:01 CET 2010


Updating branch refs/heads/master
         to 1b1f0f2a72494ec0d045096abe8b6b6758febe79 (commit)
       from de2a54ec45a7df360901f246f7695c74d874829b (commit)

commit 1b1f0f2a72494ec0d045096abe8b6b6758febe79
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 5 16:25:29 2010 +0100

    Fix previous commit.

 thunar-volman/tvm-notify.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/thunar-volman/tvm-notify.c b/thunar-volman/tvm-notify.c
index 51737ae..4ef167d 100644
--- a/thunar-volman/tvm-notify.c
+++ b/thunar-volman/tvm-notify.c
@@ -65,11 +65,15 @@ tvm_notify (const gchar *icon,
         }
     }
 
-#if defined(NOTIFY_CHECK_VERSION) && NOTIFY_CHECK_VERSION (0, 7, 0)
+#ifdef NOTIFY_CHECK_VERSION
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
   notification = notify_notification_new (summary, message, icon);
 #else
   notification = notify_notification_new (summary, message, icon, NULL);
 #endif
+#else
+  notification = notify_notification_new (summary, message, icon, NULL);
+#endif
   notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
   notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
   notify_notification_show (notification, NULL);



More information about the Xfce4-commits mailing list