aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.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 /src/ephy-location-action.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 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c1
1 files changed, 1 insertions, 0 deletions
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,