[notification-daemon] Fix includes not to use relative paths



commit c166771c75e08856ec2b3e10e7caa8952d3e4a0f
Author: William Jon McCann <jmccann redhat com>
Date:   Sat Jan 16 12:57:07 2010 -0500

    Fix includes not to use relative paths

 src/capplet/Makefile.am               |    1 +
 src/capplet/notification-properties.c |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/capplet/Makefile.am b/src/capplet/Makefile.am
index 134b11e..ebabe07 100644
--- a/src/capplet/Makefile.am
+++ b/src/capplet/Makefile.am
@@ -14,6 +14,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
 INCLUDES = \
 	-I$(top_srcdir) \
+	-I$(top_srcdir)/src/daemon \
 	$(NOTIFICATION_CAPPLET_CFLAGS) \
 	-DENGINES_DIR=\"$(libdir)/notification-daemon-1.0/engines\" \
 	-DNOTIFICATION_LOCALEDIR=\"$(datadir)/locale\" \
diff --git a/src/capplet/notification-properties.c b/src/capplet/notification-properties.c
index f226b68..f68846b 100644
--- a/src/capplet/notification-properties.c
+++ b/src/capplet/notification-properties.c
@@ -19,7 +19,8 @@
  * 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
+
 #include <glib/gi18n.h>
 #include <glib.h>
 #include <gtk/gtk.h>
@@ -28,7 +29,7 @@
 #include <string.h>
 #include <libnotify/notify.h>
 
-#include "../daemon/stack.h"
+#include "stack.h"
 
 #define GCONF_KEY_DAEMON         "/apps/notification-daemon"
 #define GCONF_KEY_THEME          GCONF_KEY_DAEMON "/theme"



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