From 5645c6b89f9ce6eb3f110e7e5dcd72cb2064ae1c Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 15 Aug 2009 14:07:05 +0300 Subject: 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. --- src/ephy-location-action.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ephy-location-action.c') 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, -- cgit v1.2.3