GNOME Bugzilla – Bug 741936
gtkpopover: fix unguarded use of wayland symbols
Last modified: 2014-12-24 14:19:33 UTC
96f7c11f4840d7425ab19290ea18d3904ab939a1 introduced an unconditional use of GDK_IS_WAYLAND_DISPLAY. Guard that with ifdef GDK_WINDOWING_WAYLAND.
Created attachment 293316 [details] [review] gtkpopover: fix unguarded use of wayland symbols
the patch from Ting-wei Lan in bug 738891 — attachment 293322 [details] [review] — is a bit better, because it avoids the empty `if (0) ;` just by moving the `else` inside the #ifdef GDK_WINDOWING_WAYLAND ... #endif block.
Hah. I did it that way first and changed it because I didn't like how it messed with the indentation :) Very well. *** This bug has been marked as a duplicate of bug 738891 ***