[gtk+] gtk: Ignore gtk_show_uri() deprecation warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk: Ignore gtk_show_uri() deprecation warnings
- Date: Thu, 16 Feb 2017 15:44:33 +0000 (UTC)
commit 76dfef62578946c9090089d3dee6525dabdf259e
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 16 04:53:29 2017 +0100
gtk: Ignore gtk_show_uri() deprecation warnings
https://bugzilla.gnome.org/show_bug.cgi?id=778726
gtk/gtkfilechooserwidget.c | 2 ++
gtk/gtkprintoperation-unix.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 51c1dcf..1df784f 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -1771,6 +1771,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,
@@ -1795,6 +1796,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
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 3709f5f..9baf694 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]