[Xfce4-commits] <xfce4-indicator-plugin:master> add a new CFLAG

Mark Trompell noreply at xfce.org
Thu Feb 17 08:30:08 CET 2011


Updating branch refs/heads/master
         to 71bbe206145a95b27469beaff3070fdeba2eaa93 (commit)
       from cee9b27c882738dfb1f80f816757cbaaeecda821 (commit)

commit 71bbe206145a95b27469beaff3070fdeba2eaa93
Author: Mark Trompell <mark at foresightlinux.org>
Date:   Tue Jun 2 11:32:50 2009 +0200

    add a new CFLAG

 panel-plugin/Makefile.am |    6 ++++--
 panel-plugin/indicator.c |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index ac89634..7d83e8c 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -25,8 +25,10 @@ xfce4_indicator_plugin_CFLAGS =					\
 	$(LIBXFCE4UTIL_CFLAGS)						\
 	$(LIBXFCEGUI4_CFLAGS)						\
 	$(LIBXFCE4PANEL_CFLAGS)						\
-	$(INDICATOR_CFLAGS)							\
-	$(PLATFORM_CFLAGS)
+	$(INDICATOR_CFLAGS)						\
+	$(PLATFORM_CFLAGS)					\
+	-DINDICATOR_DIR=\""$(libdir)/indicators/2"\"
+
 
 xfce4_indicator_plugin_LDADD =					\
 	$(LIBXFCE4UTIL_LIBS)						\
diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index d7e2ae6..f012f9a 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -28,6 +28,7 @@
 #include <libxfce4util/libxfce4util.h>
 #include <libxfce4panel/xfce-panel-plugin.h>
 #include <libxfce4panel/xfce-hvbox.h>
+#include <libindicator/indicator.h>
 
 #include "indicator.h"
 #include "indicator-dialogs.h"



More information about the Xfce4-commits mailing list