[epiphany] Fix WebKit1 build
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix WebKit1 build
- Date: Sat, 23 Feb 2013 20:39:44 +0000 (UTC)
commit 1bf2e792d47a41ee9117ffae1c699419d211644a
Author: Gustavo Noronha Silva <gns gnome org>
Date: Sat Feb 23 16:57:52 2013 -0300
Fix WebKit1 build
embed/ephy-embed-shell.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index cfede2f..e3140a5 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]