summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-unix.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-02-16 04:53:29 +0100
committerBastien Nocera <hadess@hadess.net>2017-02-16 16:37:55 +0100
commit76dfef62578946c9090089d3dee6525dabdf259e (patch)
treedb6e5dc7685a66be6fc505820607bd45602992cc /gtk/gtkprintoperation-unix.c
parentc358383d6cb2bec5c21a61dd8f6f91e2938afa95 (diff)
downloadgtk+-76dfef62578946c9090089d3dee6525dabdf259e.tar.gz
gtk: Ignore gtk_show_uri() deprecation warnings
https://bugzilla.gnome.org/show_bug.cgi?id=778726
Diffstat (limited to 'gtk/gtkprintoperation-unix.c')
-rw-r--r--gtk/gtkprintoperation-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 3709f5f35c..9baf69438e 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -200,6 +200,7 @@ shell_command_substitute_file (const gchar *cmd,
return g_string_free (final, FALSE);
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static void
gtk_print_operation_unix_launch_preview (GtkPrintOperation *op,
cairo_surface_t *surface,
@@ -341,6 +342,7 @@ gtk_print_operation_unix_launch_preview (GtkPrintOperation *op,
g_free (data);
g_free (settings_filename);
}
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
unix_finish_send (GtkPrintJob *job,