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/gtkpagesetupunixdialog.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/gtkpagesetupunixdialog.c')
-rw-r--r-- | gtk/gtkpagesetupunixdialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c index 030b5a9b4b..a0a0f3c4c9 100644 --- a/gtk/gtkpagesetupunixdialog.c +++ b/gtk/gtkpagesetupunixdialog.c @@ -762,7 +762,7 @@ custom_paper_dialog_response_cb (GtkDialog *custom_paper_dialog, /* Update printer page list */ printer_changed_callback (GTK_COMBO_BOX (priv->printer_combo), dialog); - gtk_widget_destroy (GTK_WIDGET (custom_paper_dialog)); + gtk_window_destroy (GTK_WINDOW (custom_paper_dialog)); } static void |