summaryrefslogtreecommitdiff
path: root/gtk/gtksocket-x11.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 02:08:24 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:33 +0200
commit2ee8fdb79bcabfaf8e812bbc451ec7ff4a221f1b (patch)
tree7829ea4a01e98139ba55a366496cd6b3a9136a92 /gtk/gtksocket-x11.c
parent7f486231ac4114acf332c4bf4ade2bd9e0155a6f (diff)
downloadgtk+-2ee8fdb79bcabfaf8e812bbc451ec7ff4a221f1b.tar.gz
gtk: gdk_drawable_get_display() => gdk_window_get_display()
Diffstat (limited to 'gtk/gtksocket-x11.c')
-rw-r--r--gtk/gtksocket-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksocket-x11.c b/gtk/gtksocket-x11.c
index 6866d7437a..8430e7d93a 100644
--- a/gtk/gtksocket-x11.c
+++ b/gtk/gtksocket-x11.c
@@ -295,7 +295,7 @@ xembed_get_info (GdkWindow *window,
unsigned long *version,
unsigned long *flags)
{
- GdkDisplay *display = gdk_drawable_get_display (window);
+ GdkDisplay *display = gdk_window_get_display (window);
Atom xembed_info_atom = gdk_x11_get_xatom_by_name_for_display (display, "_XEMBED_INFO");
Atom type;
int format;