diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-09 10:26:22 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-11 12:20:57 -0400 |
commit | cd0081d08ab9abccc3bddc8b597413d17f2af709 (patch) | |
tree | f0f0964fce367041d6e03cd08f43d1523f1ad1e8 /gtk/gtkprintunixdialog.c | |
parent | 48821a64d0a55895bcf511ea5fe50431d193acd2 (diff) | |
download | gtk+-cd0081d08ab9abccc3bddc8b597413d17f2af709.tar.gz |
Use gtk_window_destroy
Replace calls to gtk_widget_destroy on windows
with gtk_window_destroy.
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r-- | gtk/gtkprintunixdialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 3d755fff78..bb5df78053 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -684,7 +684,7 @@ error_dialogs (GtkPrintUnixDialog *dialog, response = gtk_dialog_run (GTK_DIALOG (message_dialog)); - gtk_widget_destroy (message_dialog); + gtk_window_destroy (GTK_WINDOW (message_dialog)); g_free (dirname); g_free (basename); @@ -3220,7 +3220,7 @@ custom_paper_dialog_response_cb (GtkDialog *custom_paper_dialog, } } - gtk_widget_destroy (GTK_WIDGET (custom_paper_dialog)); + gtk_window_destroy (GTK_WINDOW (custom_paper_dialog)); } static void |