diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-22 18:42:55 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-22 18:42:55 +0100 |
commit | e9fcf66cd324e0301224caa4f247c5de296d647c (patch) | |
tree | b42f6b1cd73cb650641fbc1248022eea013b1180 | |
parent | [l10n] Updated Estonian translation (diff) | |
download | zenity-e9fcf66cd324e0301224caa4f247c5de296d647c.tar.gz zenity-e9fcf66cd324e0301224caa4f247c5de296d647c.tar.bz2 zenity-e9fcf66cd324e0301224caa4f247c5de296d647c.zip |
util: fix build with new GTK+
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 34b86818..f1204308 100644 --- a/configure.in +++ b/configure.in @@ -32,7 +32,7 @@ zenity_save_cflags="$CFLAGS" # pull in the CFLAGS to locate gdkconfig.h CFLAGS=`$PKG_CONFIG --cflags gtk+-3.0` AC_COMPILE_IFELSE([ -#include <gdkconfig.h> +#include <gdk/gdk.h> int main(void) { #ifndef GDK_WINDOWING_X11 @@ -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)); |