From d1944ad80152f726e03d05325216618fb51e54c9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Feb 2016 16:09:23 +0100 Subject: [PATCH] Fix compilation with GTK+ 2.22 due to gdk_window_get_screen() Include the compatibility header defining this function. --- src/unix/utilsx11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index d4502741b1..54efbdcd7d 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -39,6 +39,7 @@ #include #ifdef GDK_WINDOWING_X11 #include +#include "wx/gtk/private/gtk2-compat.h" // gdk_window_get_screen() #endif GdkWindow* wxGetTopLevelGDK(); #endif