[Spice-devel] [spice-gtk v2 2/2] Include gtk-compat.h in spice-gtk-session.c

Christophe Fergeau cfergeau at redhat.com
Mon Apr 14 10:00:16 PDT 2014


GDK_IS_X11_DISPLAY is not available on gtk+ 2.x, but it already has a
fallback definition in gtk-compat.h
---
 gtk/spice-gtk-session.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c
index fe77f47..bc54b7e 100644
--- a/gtk/spice-gtk-session.c
+++ b/gtk/spice-gtk-session.c
@@ -36,6 +36,7 @@
 #include <gtk/gtk.h>
 #include <spice/vd_agent.h>
 #include "desktop-integration.h"
+#include "gtk-compat.h"
 #include "spice-common.h"
 #include "spice-gtk-session.h"
 #include "spice-gtk-session-priv.h"
-- 
1.9.0



More information about the Spice-devel mailing list