[Xfce4-commits] <thunar:master> Don't include notify.h if not available (bug #9480).

Nick Schermer noreply at xfce.org
Sat Nov 10 09:48:01 CET 2012


Updating branch refs/heads/master
         to 786020bd92b4dd007fa20be000ab96a8f9f2cd5b (commit)
       from df9696ac3aeccd749a228401991697a068f41fe2 (commit)

commit 786020bd92b4dd007fa20be000ab96a8f9f2cd5b
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Nov 10 10:46:30 2012 +0100

    Don't include notify.h if not available (bug #9480).

 thunar/thunar-notify.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-notify.c b/thunar/thunar-notify.c
index 428e4c6..0f4f832 100644
--- a/thunar/thunar-notify.c
+++ b/thunar/thunar-notify.c
@@ -22,7 +22,9 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_LIBNOTIFY
 #include <libnotify/notify.h>
+#endif
 
 #include <thunar/thunar-notify.h>
 #include <thunar/thunar-device.h>


More information about the Xfce4-commits mailing list