aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/widgets/ephy-location-entry.c1
-rw-r--r--src/ephy-location-action.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 8a0bd5390..cbe3d065d 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -1193,7 +1193,6 @@ ephy_location_entry_set_completion (EphyLocationEntry *entry,
entry->priv->favicon_col = favicon_col;
sort_model = gtk_tree_model_sort_new_with_model (model);
- g_object_unref (model);
gtk_tree_sortable_set_sort_column_id
(GTK_TREE_SORTABLE (sort_model),
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 2ead7567e..fb40a7482 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -443,6 +443,7 @@ connect_proxy (GtkAction *action, GtkWidget *proxy)
EPHY_COMPLETION_URL_COL,
EPHY_COMPLETION_EXTRA_COL,
EPHY_COMPLETION_FAVICON_COL);
+ g_object_unref (model);
ephy_location_entry_set_match_func (EPHY_LOCATION_ENTRY (proxy),
match_func,