It's also in gtk/spice-widget.c, perhaps it's time for a gtk-compat.h? there are various gtk2/3 define here and there.
On Fri, Apr 11, 2014 at 10:43 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
It's not available on gtk+ 2.0, and there is no substitute for it,
so it's #defined to TRUE.
---
gtk/spice-gtk-session.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c
index fe77f47..d67e5e2 100644
--- a/gtk/spice-gtk-session.c
+++ b/gtk/spice-gtk-session.c
@@ -44,6 +44,10 @@
#define CLIPBOARD_LAST (VD_AGENT_CLIPBOARD_SELECTION_SECONDARY + 1)
+#if !GTK_CHECK_VERSION (2, 91, 0)
+#define GDK_IS_X11_DISPLAY(D) TRUE
+#endif
+
struct _SpiceGtkSessionPrivate {
SpiceSession *session;
/* Clipboard related */
--
1.9.0
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel