[epiphany/webkit2] ephy-web-view: add more code to the WebKit2 #ifdef



commit 170ae84912ae4d8aeb1e67f3ffb7c47af446b424
Author: Xan Lopez <xan igalia com>
Date:   Wed Jun 20 10:16:11 2012 +0200

    ephy-web-view: add more code to the WebKit2 #ifdef
    
    Otherwise I get link errors because we are missing symbols:
    
    CCLD   epiphany
    ../../embed/ephy-web-view.c:3990: error: undefined reference to 'ephy_web_view_save_sub_resource_start'
    collect2: ld returned 1 exit status
    make[4]: *** [epiphany] Error 1

 embed/ephy-web-view.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dc40d1c..fbe8749 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3953,6 +3953,9 @@ ephy_web_view_get_title_composite (EphyWebView *view)
   return title != NULL ? title : "";
 }
 
+#ifdef HAVE_WEBKIT2
+/* TODO: webkit_web_view_save() */
+#else
 static void
 ephy_web_view_save_sub_resource_start (GList *subresources, char *destination_uri);
 
@@ -4085,9 +4088,6 @@ ephy_web_view_save_replace_cb (GFile *file, GAsyncResult *result, GString *const
                                data);
 }
 
-#ifdef HAVE_WEBKIT2
-/* TODO: webkit_web_view_save() */
-#else
 static void
 ephy_web_view_save_sub_resource_start (GList *subresources, char *destination_uri)
 {



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