summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-12-22 18:42:55 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2010-12-22 18:42:55 +0100
commite9fcf66cd324e0301224caa4f247c5de296d647c (patch)
treeb42f6b1cd73cb650641fbc1248022eea013b1180 /src
parent[l10n] Updated Estonian translation (diff)
downloadzenity-e9fcf66cd324e0301224caa4f247c5de296d647c.tar.gz
zenity-e9fcf66cd324e0301224caa4f247c5de296d647c.tar.bz2
zenity-e9fcf66cd324e0301224caa4f247c5de296d647c.zip
util: fix build with new GTK+
Diffstat (limited to 'src')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 186a8db4..7072c250 100644
--- a/src/util.c
+++ b/src/util.c
@@ -389,7 +389,7 @@ zenity_util_make_transient (GdkWindow *window)
{
Window xterm = transient_get_xterm_toplevel ();
if (xterm != None) {
- GdkWindow *gdkxterm = gdk_window_foreign_new (xterm);
+ GdkWindow *gdkxterm = gdk_x11_window_foreign_new_for_display (gdk_display_get_default (), xterm);
if (gdkxterm) {
gdk_window_set_transient_for (window, gdkxterm);
g_object_unref (G_OBJECT (gdkxterm));
bgstack15