grim/guifications2

a bunch of random cleanups

2011-12-04, Gary Kramlich
de45e755a785
Parents e5f91bf57cfe
Children 9f2acd02f434
a bunch of random cleanups
--- a/src/x11/Makefile.am Sun Dec 04 02:08:57 2011 -0600
+++ b/src/x11/Makefile.am Sun Dec 04 02:10:31 2011 -0600
@@ -1,11 +1,14 @@
-AM_CPPFLAGS = \
- $(DEBUG_CFLAGS) \
- $(GTK_CFLAGS) \
- $(GLIB_CFLAGS)
noinst_LTLIBRARIES = libguifications-x11.la
libguifications_x11_la_SOURCES = \
gf_x11_display.c
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ $(DEBUG_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(GLIB_CFLAGS) \
+ $(PIDGIN_CFLAGS) \
+ $(PURPLE_CFLAGS)
--- a/src/x11/gf_x11_display.c Sun Dec 04 02:08:57 2011 -0600
+++ b/src/x11/gf_x11_display.c Sun Dec 04 02:10:31 2011 -0600
@@ -17,11 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
#include <glib.h>
+#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
+#include "gf_display.h"
+
gboolean
gf_display_get_workarea(GdkRectangle *rect) {
GdkDisplay *g_display = NULL;