[gtk-vnc-devel] [patch] - build with new gtk+ policy



Hi, this patch makes gtk-vnc build with -DGTK_DISABLE_SINGLE_INCLUDES.

Cheers,
-- 
Jonh Wendell
http://www.bani.com.br
diff -r 974dbf1cc505 src/vncdisplay.c
--- a/src/vncdisplay.c	Mon Nov 17 18:38:23 2008 +0000
+++ b/src/vncdisplay.c	Tue Nov 18 14:57:11 2008 -0300
@@ -18,7 +18,6 @@
 #include "config.h"
 #include "x_keymap.h"
 
-#include <gtk/gtk.h>
 #include <string.h>
 #include <stdlib.h>
 #include <gdk/gdkkeysyms.h>
diff -r 974dbf1cc505 src/vncdisplay.h
--- a/src/vncdisplay.h	Mon Nov 17 18:38:23 2008 +0000
+++ b/src/vncdisplay.h	Tue Nov 18 14:57:11 2008 -0300
@@ -15,7 +15,7 @@
 typedef struct _VncDisplayClass VncDisplayClass;
 typedef struct _VncDisplayPrivate VncDisplayPrivate;
 
-#include <gtk/gtkdrawingarea.h>
+#include <gtk/gtk.h>
 #include <glib.h>
 
 #define VNC_TYPE_DISPLAY (vnc_display_get_type())


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