[gtk+/gtk-3-22] gtk: Ignore gtk_show_uri() deprecation warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] gtk: Ignore gtk_show_uri() deprecation warnings
- Date: Thu, 16 Feb 2017 15:37:39 +0000 (UTC)
commit e4fbfde07bec0d34100e123c7e286b3bcc7fcec2
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 de78693..b7eb81b 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -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
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]