new function gimp_dialog_hide() that calls gdk_window_withdraw() after
gtk_widget_hide() so dialogs actually go away even if the user iconified them before. Should fix bugs #2961, #5293, #6441 and #7849. --Sven
This commit is contained in:
@ -421,9 +421,8 @@ threshold_ok_callback (GtkWidget *widget,
|
||||
|
||||
td = (ThresholdDialog *) data;
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (td->shell))
|
||||
gtk_widget_hide (td->shell);
|
||||
|
||||
gimp_dialog_hide (td->shell);
|
||||
|
||||
active_tool->preserve = TRUE;
|
||||
|
||||
if (!td->preview)
|
||||
@ -448,8 +447,7 @@ threshold_cancel_callback (GtkWidget *widget,
|
||||
|
||||
td = (ThresholdDialog *) data;
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (td->shell))
|
||||
gtk_widget_hide (td->shell);
|
||||
gimp_dialog_hide (td->shell);
|
||||
|
||||
if (td->image_map)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user