summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-07-25 17:42:26 +0200
committerBastien Nocera <hadess@hadess.net>2019-02-25 17:38:08 +0100
commit5a6a7b50af31826d342dbdb81901415f3b8f9356 (patch)
treec71e3d1661bb371903b0da540421cadbd70be1bd /gtk/gtkprintoperation.c
parent8438880906722681f54848f7f335e0bc074afd43 (diff)
downloadgtk+-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/gtkprintoperation.c')
-rw-r--r--gtk/gtkprintoperation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index c18d3d2d78..3c6b01937c 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -2852,7 +2852,9 @@ handle_progress_response (GtkWidget *dialog,
static gboolean
show_progress_timeout (PrintPagesData *data)
{
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_window_present (GTK_WINDOW (data->progress));
+ G_GNUC_END_IGNORE_DEPRECATIONS
data->op->priv->show_progress_timeout_id = 0;