diff options
author | Andre Klapper <a9016009@gmx.de> | 2010-03-10 23:51:28 +0100 |
---|---|---|
committer | Andre Klapper <a9016009@gmx.de> | 2010-04-08 18:00:29 +0200 |
commit | 29625ff9cc86c183c3c6a3b1ab8ee77722580c54 (patch) | |
tree | ef74beb720607b935fb6684b1a5fff877a6991ce | |
parent | 839437f4a80f8da4dd6da81eeaf04785c16e078b (diff) |
Compile with -DGSEAL_ENABLED. Fixes bug 612498.
-rw-r--r-- | src/about.c | 4 | ||||
-rw-r--r-- | src/util.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/about.c b/src/about.c index de85a54..67c2474 100644 --- a/src/about.c +++ b/src/about.c @@ -295,9 +295,9 @@ zenity_about (ZenityData *data) gtk_widget_show (help_button); - gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dialog)->action_area), + gtk_box_pack_end (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))), help_button, FALSE, TRUE, 0); - gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (dialog)->action_area), + gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))), help_button, TRUE); g_signal_connect (G_OBJECT (dialog), "response", @@ -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); } |