[zenity] Fix bug 651723, don't look for libnotify.h if not requested



commit 2fa457ed44afa5f4bbb35e3f3731ac11e64c0b7a
Author: Nirbheek Chauhan <nirbheek gentoo org>
Date:   Thu Jun 2 22:42:33 2011 +0530

    Fix bug 651723, don't look for libnotify.h if not requested

 src/notification.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notification.c b/src/notification.c
index 41d64e2..3f4c454 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -29,12 +29,12 @@
 #include <gtk/gtk.h>
 #include <time.h>
 #include <string.h>
+#ifdef HAVE_LIBNOTIFY
 #include <libnotify/notify.h>
 
 #include "zenity.h"
 #include "util.h"
 
-#ifdef HAVE_LIBNOTIFY
 static char *icon_file;
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]