[epiphany] ephy-web-view: fix the wk2 build



commit b73d44ae204df099a53f91ec23b067752858ac3f
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Sep 12 10:02:45 2012 +0300

    ephy-web-view: fix the wk2 build
    
    WK2 doesn't have yet a snapshotting API, so ifdef this out for the
    time being.

 embed/ephy-web-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 1db998f..a654532 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]