gtk: Ignore gtk_show_uri() deprecation warnings
authorBastien Nocera <hadess@hadess.net>
Thu, 16 Feb 2017 03:53:29 +0000 (04:53 +0100)
committerBastien Nocera <hadess@hadess.net>
Thu, 16 Feb 2017 15:34:42 +0000 (16:34 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=778726

gtk/gtkfilechooserwidget.c
gtk/gtkprintoperation-unix.c

index de78693c3003aea76fe9aeb3e99a5d6adf7f4246..b7eb81b591ba5a4c9c34078d07978a93cbd645e2 100644 (file)
@@ -1776,6 +1776,7 @@ visit_file_cb (GSimpleAction *action,
   g_slist_free_full (files, g_object_unref);
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 /* Callback used when the "Open this folder" menu item is activated */
 static void
 open_folder_cb (GSimpleAction *action,
@@ -1800,6 +1801,7 @@ open_folder_cb (GSimpleAction *action,
 
   g_slist_free_full (files, g_object_unref);
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /* callback used when the "Show Hidden Files" menu item is toggled */
 static void
index 3709f5f35c06f386c70da0c2efbd6eec458dec97..9baf69438eaeab73227bdd0f9487090fcacaf73e 100644 (file)
@@ -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,