<div dir="ltr">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.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 11, 2014 at 10:43 AM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's not available on gtk+ 2.0, and there is no substitute for it,<br>
so it's #defined to TRUE.<br>
---<br>
 gtk/spice-gtk-session.c | 4 ++++<br>
 1 file changed, 4 insertions(+)<br>
<br>
diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c<br>
index fe77f47..d67e5e2 100644<br>
--- a/gtk/spice-gtk-session.c<br>
+++ b/gtk/spice-gtk-session.c<br>
@@ -44,6 +44,10 @@<br>
<br>
 #define CLIPBOARD_LAST (VD_AGENT_CLIPBOARD_SELECTION_SECONDARY + 1)<br>
<br>
+#if !GTK_CHECK_VERSION (2, 91, 0)<br>
+#define GDK_IS_X11_DISPLAY(D) TRUE<br>
+#endif<br>
+<br>
 struct _SpiceGtkSessionPrivate {<br>
     SpiceSession            *session;<br>
     /* Clipboard related */<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.0<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>