aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-21 00:04:27 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-21 16:18:09 +0800
commite1b810ce01cfe4dc240b6eac34c5ebc43a58dd58 (patch)
tree045f42151beae046644d799db786f720f4e5e008
parent8322393f79b67deeeb952216cb0de23aa2ed9138 (diff)
downloadgsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar.gz
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar.bz2
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar.lz
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar.xz
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.tar.zst
gsoc2013-epiphany-e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58.zip
ephy-completion-model: minor cleanup
No need to invoke twice webkit_get_favicon_databas() in the same method, there's a variable pointing to the database already. https://bugzilla.gnome.org/show_bug.cgi?id=672483
-rw-r--r--src/ephy-completion-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c
index efa5769f1..8b8705947 100644
--- a/src/ephy-completion-model.c
+++ b/src/ephy-completion-model.c
@@ -224,7 +224,7 @@ set_row_in_model (EphyCompletionModel *model, int position, PotentialRow *row)
data->row_reference = gtk_tree_row_reference_new (GTK_TREE_MODEL (model), path);
gtk_tree_path_free (path);
- webkit_favicon_database_get_favicon_pixbuf (webkit_get_favicon_database (), row->location,
+ webkit_favicon_database_get_favicon_pixbuf (database, row->location,
FAVICON_SIZE, FAVICON_SIZE, NULL,
icon_loaded_cb, data);
}