From 530c13da8a251c7724cdc3dcc6a14278878e3141 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Guelfucci?= <jeromeg@xfce.org>
Date: Mon, 17 May 2010 22:23:03 +0200
Subject: [PATCH] Clean the build system for the new panel library (Romain
 Bouvier).

---
 Makefile.am                         | 4 +++-
 panel-plugin/screenshooter-plugin.c | 3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 52f52945..6f962201 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,13 +117,15 @@ panel_plugin_xfce4_screenshooter_plugin_CFLAGS =	\
 	-I$(top_srcdir)	\
 	-I$(top_srcdir)/lib/	\
 	@LIBXFCE4PANEL_CFLAGS@ \
+	@LIBXFCEGUI4_CFLAGS@ \
 	@GTHREAD_CFLAGS@ \
 	@SOUP_CFLAGS@
 
 panel_plugin_xfce4_screenshooter_plugin_LDFLAGS = \
 	@LIBXFCE4PANEL_LIBS@ \
 	@GTHREAD_LIBS@ \
-	@SOUP_LIBS@
+	@SOUP_LIBS@ \
+	@LIBXFCEGUI4_LIBS@
 
 panel_plugin_xfce4_screenshooter_plugin_LDADD = lib/libscreenshooter.la
 
diff --git a/panel-plugin/screenshooter-plugin.c b/panel-plugin/screenshooter-plugin.c
index 21b4e706..b0ac3209 100644
--- a/panel-plugin/screenshooter-plugin.c
+++ b/panel-plugin/screenshooter-plugin.c
@@ -29,8 +29,7 @@ t */
 #include <gdk/gdkx.h>
 
 #include <libxfcegui4/libxfcegui4.h>
-#include <libxfce4panel/xfce-panel-plugin.h>
-#include <libxfce4panel/xfce-panel-convenience.h>
+#include <libxfce4panel/libxfce4panel.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
-- 
GitLab