[epiphany] web-extension: silence warnings caused by vala bug
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-extension: silence warnings caused by vala bug
- Date: Sun, 9 Oct 2016 18:49:12 +0000 (UTC)
commit 007d671b144a4e73fd0d752d49848d16f6831c01
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 9 13:48:35 2016 -0500
web-extension: silence warnings caused by vala bug
embed/web-extension/ephy-web-extension.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 08b5a3a..e272947 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -37,7 +37,6 @@
#include <gio/gio.h>
#include <gtk/gtk.h>
-#include <httpseverywhere.h>
#include <libsoup/soup.h>
#include <string.h>
#include <webkit2/webkit-web-extension.h>
@@ -45,6 +44,12 @@
#include <webkitdom/WebKitDOMDOMWindowUnstable.h>
#include <JavaScriptCore/JavaScript.h>
+/* https://bugzilla.gnome.org/show_bug.cgi?id=772661 */
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wredundant-decls"
+#include <httpseverywhere.h>
+#pragma GCC diagnostic pop
+
struct _EphyWebExtension {
GObject parent_instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]