aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-12 15:02:45 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-12 15:06:36 +0800
commitb73d44ae204df099a53f91ec23b067752858ac3f (patch)
treec945747b5a00c840db2d89d8c224197cd636b7fa
parent7a68d6f10ed819d0bfd25c2f9e7c3a3e980ddc75 (diff)
downloadgsoc2013-epiphany-b73d44ae204df099a53f91ec23b067752858ac3f.tar.gz
gsoc2013-epiphany-b73d44ae204df099a53f91ec23b067752858ac3f.tar.zst
gsoc2013-epiphany-b73d44ae204df099a53f91ec23b067752858ac3f.zip
ephy-web-view: fix the wk2 build
WK2 doesn't have yet a snapshotting API, so ifdef this out for the time being.
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 1db998f29..a65453224 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2098,6 +2098,7 @@ ephy_web_view_is_history_frozen (EphyWebView *view)
return view->priv->history_frozen;
}
+#ifndef HAVE_WEBKIT2
static gboolean
web_view_check_snapshot (WebKitWebView *web_view)
{
@@ -2115,6 +2116,7 @@ web_view_check_snapshot (WebKitWebView *web_view)
return FALSE;
}
+#endif
#ifdef HAVE_WEBKIT2
static void