diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-09-09 21:55:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-09-09 21:55:28 -0400 |
commit | 95eb4a868e4917b9df9677543ff0be5584383f4d (patch) | |
tree | 932e25884c109d429dcf9da49ae664920b7ad8e4 /docs/tools/widgets.c | |
parent | 2a27c904798fb4658424fd923e0faadfa5076081 (diff) | |
download | gtk+-95eb4a868e4917b9df9677543ff0be5584383f4d.tar.gz |
Remove GDK_DISPLAY() usage
Diffstat (limited to 'docs/tools/widgets.c')
-rw-r--r-- | docs/tools/widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index e30f3919e2..1b1d824353 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -21,7 +21,7 @@ find_toplevel_window (Window xid) do { - if (XQueryTree (GDK_DISPLAY (), xid, &root, + if (XQueryTree (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xid, &root, &parent, &children, &nchildren) == 0) { g_warning ("Couldn't find window manager window"); |