summaryrefslogtreecommitdiff
path: root/gtk/gtksocket.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-20 19:20:10 +0100
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:07:07 -0500
commit4db086da4b257ddc04cd3ef547a973f09fdf198d (patch)
treebff431711c9db043c4879b2a6bbe68edc0845ae5 /gtk/gtksocket.c
parent8e2240f6990e48ac4b27e8ba9364278f689f97e1 (diff)
downloadgtk+-4db086da4b257ddc04cd3ef547a973f09fdf198d.tar.gz
x11: Rename GdkDisplayX11 to GdkX11Display
Also rename all the macros etc.
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r--gtk/gtksocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index c362b64a2d..c3cf1911ce 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -875,7 +875,7 @@ _gtk_socket_add_window (GtkSocket *socket,
GtkSocketPrivate *private = socket->priv;
#ifdef GDK_WINDOWING_X11
- if (GDK_IS_DISPLAY_X11 (display))
+ if (GDK_IS_X11_DISPLAY (display))
private->plug_window = gdk_x11_window_lookup_for_display (display, xid);
else
#endif
@@ -912,7 +912,7 @@ _gtk_socket_add_window (GtkSocket *socket,
if (!private->plug_window)
{
#ifdef GDK_WINDOWING_X11
- if (GDK_IS_DISPLAY_X11 (display))
+ if (GDK_IS_X11_DISPLAY (display))
private->plug_window = gdk_x11_window_foreign_new_for_display (display, xid);
#endif
if (!private->plug_window) /* was deleted before we could get it */