[epiphany] ephy-completion-model: minor cleanup



commit e1b810ce01cfe4dc240b6eac34c5ebc43a58dd58
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Mar 20 18:04:27 2012 +0200

    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

 src/ephy-completion-model.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c
index efa5769..8b87059 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);
 }



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