aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-14 18:01:56 +0800
committerXan Lopez <xan@igalia.com>2013-03-14 18:03:00 +0800
commitd85a1f2822a750027342af1b5779f324b95b2f4a (patch)
tree4977f0f7fa2a46c57f617dae54d565208625a68d
parentf890beb4d225a92f6abe6d06b43949c7b81b8534 (diff)
downloadgsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar.gz
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar.bz2
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar.lz
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar.xz
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.tar.zst
gsoc2013-epiphany-d85a1f2822a750027342af1b5779f324b95b2f4a.zip
ephy-bookmarks-editor: fix compiler warnings
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index adef067e8..e9430f2d8 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 */