<xfce4-volumed:master> Fixing a build error with --disable-libnotify, patch from Ṣalāḥ ad-Dīn Yūsuf ibn Ayyūb

Steve Dodier noreply at xfce.org
Wed Oct 28 16:28:01 CET 2009


Updating branch refs/heads/master
         to 4f6e8bb3216ef0a140d4b813a6e8527f96590e62 (commit)
       from 1b67b1210e7b74cc8fab4bde0c0ef47d9747fd7e (commit)

commit 4f6e8bb3216ef0a140d4b813a6e8527f96590e62
Author: Steve Dodier <sidnioulz at gmail.com>
Date:   Wed Oct 28 16:28:14 2009 +0100

    Fixing a build error with --disable-libnotify, patch from Ṣalāḥ ad-Dīn Yūsuf ibn Ayyūb

 src/main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 68ffd30..0d7a0b5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -111,8 +111,10 @@ xvd_instance_init(XvdInstance *i)
 	i->keyMute = NULL;
 	#endif
 	i->kss = NULL;
-	i->sync_notifications = FALSE;
-    i->notification	= NULL;
+	#ifdef HAVE_LIBNOTIFY
+ 	i->sync_notifications = FALSE;
+	i->notification	= NULL;
+	#endif
 }
 
 gint 



More information about the Xfce4-commits mailing list