aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2013-02-24 03:57:52 +0800
committerGustavo Noronha Silva <gns@gnome.org>2013-02-24 03:57:52 +0800
commit1bf2e792d47a41ee9117ffae1c699419d211644a (patch)
treec83bd75ac015fe1ada946f8c91431941d9331072
parent12458bb74b5179d029a3fd2444183a67cc749af8 (diff)
downloadgsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar.gz
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar.bz2
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar.lz
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar.xz
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.tar.zst
gsoc2013-epiphany-1bf2e792d47a41ee9117ffae1c699419d211644a.zip
Fix WebKit1 build
-rw-r--r--embed/ephy-embed-shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index cfede2f3b..e3140a5a6 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -124,6 +124,7 @@ ephy_embed_shell_finalize (GObject *object)
G_OBJECT_CLASS (ephy_embed_shell_parent_class)->finalize (object);
}
+#if HAVE_WEBKIT2
static void
web_extension_proxy_created_cb (GDBusConnection *connection,
GAsyncResult *result,
@@ -180,6 +181,7 @@ ephy_embed_shell_watch_web_extension (EphyEmbedShell *shell)
shell, NULL);
g_free (service_name);
}
+#endif
/**
* ephy_embed_shell_get_global_history_service:
@@ -384,7 +386,9 @@ ephy_embed_shell_init (EphyEmbedShell *shell)
shell->priv->downloads = NULL;
+#if HAVE_WEBKIT2
ephy_embed_shell_watch_web_extension (shell);
+#endif
}
static void