Compile with -DGSEAL_ENABLED. Fixes bug 612498.
This commit is contained in:
parent
839437f4a8
commit
29625ff9cc
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user