gtk3: GDK_WINDOW_XID was renamed

Well I guess. Not sure until I can test the behavior.
This commit is contained in:
Gregory Hainaut 2014-12-07 22:09:15 +01:00
parent 5d8b2d8044
commit feca2e3faf
1 changed files with 4 additions and 0 deletions

View File

@ -905,7 +905,11 @@ void Pcsx2App::OpenGsPanel()
GdkWindow* draw_window = gtk_widget_get_window(child_window);
#endif
#if GTK_MAJOR_VERSION < 3
Window Xwindow = GDK_WINDOW_XWINDOW(draw_window);
#else
Window Xwindow = GDK_WINDOW_XID(draw_window);
#endif
Display* XDisplay = GDK_WINDOW_XDISPLAY(draw_window);
pDsp[0] = (uptr)XDisplay;