[epiphany] ephy-bookmarks-editor: fix compiler warnings



commit d85a1f2822a750027342af1b5779f324b95b2f4a
Author: Xan Lopez <xan igalia com>
Date:   Thu Mar 14 11:01:56 2013 +0100

    ephy-bookmarks-editor: fix compiler warnings

 src/bookmarks/ephy-bookmarks-editor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index adef067..e9430f2 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1490,13 +1490,15 @@ icon_loaded_cb (WebKitFaviconDatabase *database, GAsyncResult *result, GtkTreeRo
 static void
 provide_favicon (EphyNode *node, GValue *value, gpointer user_data)
 {
-       const char *page_location;
        GdkPixbuf *favicon = NULL;
+#ifndef HAVE_WEBKIT2
+       const char *page_location;
 
        page_location = ephy_node_get_property_string
                (node, EPHY_NODE_BMK_PROP_LOCATION);
 
        LOG ("Get favicon for %s", page_location ? page_location : "None");
+#endif
 
 #ifdef HAVE_WEBKIT2
         /* TODO: Favicons */


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