Make gdk_window_{lookup,foreign_new}_for_display backend specific

At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.
This commit is contained in:
Matthias Clasen
2010-12-15 01:39:30 -05:00
parent 39a71b8831
commit 2d7583c0e3
23 changed files with 185 additions and 213 deletions

View File

@ -221,7 +221,7 @@ gdk_selection_owner_get_for_display (GdkDisplay *display,
if (xwindow == None)
return NULL;
return gdk_window_lookup_for_display (display, xwindow);
return gdk_x11_window_lookup_for_display (display, xwindow);
}
void