aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-15 19:07:05 +0800
committerXan Lopez <xan@gnome.org>2009-08-15 19:07:05 +0800
commit5645c6b89f9ce6eb3f110e7e5dcd72cb2064ae1c (patch)
tree68896f98a703407e711befdb8dc9ad8a15951539 /lib/widgets/ephy-location-entry.c
parent8cc47dde28022316d18be9a78fdb4bb668c9f2db (diff)
downloadgsoc2013-epiphany-5645c6b89f9ce6eb3f110e7e5dcd72cb2064ae1c.tar.gz
gsoc2013-epiphany-5645c6b89f9ce6eb3f110e7e5dcd72cb2064ae1c.tar.zst
gsoc2013-epiphany-5645c6b89f9ce6eb3f110e7e5dcd72cb2064ae1c.zip
Make the location action responsible of the model
It does not make sense for the location entry to unref the model it gets as parameter.
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c1
1 files changed, 0 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),