[epiphany] window: Silence unfixable deprecation warning
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: Silence unfixable deprecation warning
- Date: Sat, 8 Oct 2016 21:12:57 +0000 (UTC)
commit 5722fff2e82744e40fb36e6c3c295cdf20ff6ecc
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 8 15:51:57 2016 -0500
window: Silence unfixable deprecation warning
src/ephy-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c9c8362..7d96f9f 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1276,6 +1276,8 @@ action_activate_cb (GtkAction *action, gpointer user_data)
static WebKitContextMenuItem *
webkit_context_menu_item_new_from_gaction (GAction *action, const gchar *label)
{
+#pragma GCC diagnostic push
+#pragma GCC dignostic ignored "-Wdeprecated-declarations"
GtkAction *gtk_action;
WebKitContextMenuItem *item;
GActionData *action_data;
@@ -1302,6 +1304,7 @@ webkit_context_menu_item_new_from_gaction (GAction *action, const gchar *label)
g_object_unref (gtk_action);
return item;
+#pragma GCC diagnostic pop
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]