From 29625ff9cc86c183c3c6a3b1ab8ee77722580c54 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Wed, 10 Mar 2010 23:51:28 +0100 Subject: Compile with -DGSEAL_ENABLED. Fixes bug 612498. --- src/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 036e2b54..96bf3152 100644 --- a/src/util.c +++ b/src/util.c @@ -403,8 +403,8 @@ zenity_util_show_dialog (GtkWidget *dialog) { gtk_widget_realize (dialog); #ifdef GDK_WINDOWING_X11 - g_assert (dialog->window); - zenity_util_make_transient (dialog->window); + g_assert (gtk_widget_get_window(dialog)); + zenity_util_make_transient (gtk_widget_get_window(dialog)); #endif gtk_widget_show (dialog); } -- cgit