gtk: Ignore gtk_show_uri() deprecation warnings

https://bugzilla.gnome.org/show_bug.cgi?id=778726
This commit is contained in:
Bastien Nocera 2017-02-16 04:53:29 +01:00
parent da0291950d
commit e4fbfde07b
2 changed files with 4 additions and 0 deletions

View 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

View 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,