diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-07-25 17:42:26 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-02-25 17:38:08 +0100 |
commit | 5a6a7b50af31826d342dbdb81901415f3b8f9356 (patch) | |
tree | c71e3d1661bb371903b0da540421cadbd70be1bd /gtk/gtkprintunixdialog.c | |
parent | 8438880906722681f54848f7f335e0bc074afd43 (diff) | |
download | gtk+-5a6a7b50af31826d342dbdb81901415f3b8f9356.tar.gz |
all: Don't warn about deprecated gtk_window_present usage
Avoid compilation warnings about internal users of gtk_window_present().
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r-- | gtk/gtkprintunixdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 7dc8c37202..9b36ce9dd1 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -3312,7 +3312,9 @@ paper_size_changed (GtkComboBox *combo_box, /* And show the custom paper dialog */ custom_paper_dialog = _gtk_custom_paper_unix_dialog_new (GTK_WINDOW (dialog), _("Manage Custom Sizes")); g_signal_connect (custom_paper_dialog, "response", G_CALLBACK (custom_paper_dialog_response_cb), dialog); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_window_present (GTK_WINDOW (custom_paper_dialog)); + G_GNUC_END_IGNORE_DEPRECATIONS return; } |