[gtk+] gtkdnd: Unbreak non-wayland builds
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkdnd: Unbreak non-wayland builds
- Date: Fri, 20 Nov 2015 12:31:01 +0000 (UTC)
commit 770feff302b8f834637374abb4b054734b2e93ac
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Nov 20 13:29:34 2015 +0100
gtkdnd: Unbreak non-wayland builds
missing #ifdef...
gtk/gtkdnd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index d495ca9..ef49b80 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -787,8 +787,10 @@ gtk_drag_can_use_rgba_cursor (GdkDisplay *display,
{
guint max_width, max_height;
+#ifdef GDK_WINDOWING_WAYLAND
if (GDK_IS_WAYLAND_DISPLAY (display))
return FALSE;
+#endif
if (!gdk_display_supports_cursor_color (display))
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]