Show message dialogs in preferences dialog

This commit is contained in:
Luca Bacci
2021-08-11 10:49:35 +02:00
committed by Jehan
parent 6892326e8e
commit ac0a084e6e

View File

@ -1068,10 +1068,9 @@ prefs_message (GtkMessageType type,
type, GTK_BUTTONS_OK, type, GTK_BUTTONS_OK,
"%s", message); "%s", message);
g_signal_connect (dialog, "response", gtk_dialog_run (GTK_DIALOG (dialog));
G_CALLBACK (gtk_widget_destroy),
NULL); gtk_widget_destroy (dialog);
gtk_widget_show (dialog);
} }
static GtkWidget * static GtkWidget *