[Xfce4-commits] [apps/xfce4-volumed-pulse] 50/62: add missing cflags/libs/includes for gtk

noreply at xfce.org noreply at xfce.org
Thu Sep 8 10:33:12 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-volumed-pulse.

commit 014554d88fd0033108ef9683bc5cf6e42fc31087
Author: Lionel Le Folgoc <lionel at lefolgoc.net>
Date:   Fri May 25 18:35:27 2012 +0200

    add missing cflags/libs/includes for gtk
---
 configure.ac.in | 1 +
 src/Makefile.am | 2 ++
 src/main.c      | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/configure.ac.in b/configure.ac.in
index 2bfce69..d56a9af 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -55,6 +55,7 @@ dnl ***********************************
 dnl *** Check for required packages ***
 dnl ***********************************
 XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.16])
+XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.20])
 XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.6.0])
 XDT_CHECK_PACKAGE([LIBPULSE], [libpulse], [0.9.19])
 XDT_CHECK_PACKAGE([LIBPULSEMAINLOOPGLIB], [libpulse-mainloop-glib], [0.9.19])
diff --git a/src/Makefile.am b/src/Makefile.am
index 27a4242..0cf9f78 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,7 @@ xfce4_volumed_pulse_SOURCES = \
 
 xfce4_volumed_pulse_CFLAGS = \
 	$(GLIB_CFLAGS) \
+	$(GTK_CFLAGS) \
 	$(XFCONF_CFLAGS) \
 	$(LIBKEYBINDER_CFLAGS) \
 	$(LIBPULSE_CFLAGS) \
@@ -30,6 +31,7 @@ xfce4_volumed_pulse_LDFLAGS = \
 
 xfce4_volumed_pulse_LDADD = \
 	$(GLIB_LIBS) \
+	$(GTK_LIBS) \
 	$(XFCONF_LIBS) \
 	$(LIBKEYBINDER_LIBS) \
 	$(LIBPULSE_LIBS) \
diff --git a/src/main.c b/src/main.c
index ad9b2f8..efc4a32 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,6 +25,8 @@
 #include <errno.h>
 #endif
 
+#include <gtk/gtk.h>
+
 #include "xvd_keys.h"
 #include "xvd_data_types.h"
 #include "xvd_pulse.h"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list