From f279bbf2de2896f39ef08e52961e8638b9f1a29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 19 Sep 2009 09:56:11 +0200 Subject: Add back support for the "direction up" navigation (GNOME bug 595653) --- src/ephy-navigation-action.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c index bfbae85d5..972f86d30 100644 --- a/src/ephy-navigation-action.c +++ b/src/ephy-navigation-action.c @@ -318,6 +318,7 @@ build_up_menu (EphyNavigationAction *action) } /* the list data has been consumed */ + g_slist_foreach (list, (GFunc) g_free, NULL); g_slist_free (list); return GTK_WIDGET (menu); @@ -434,6 +435,7 @@ ephy_navigation_action_activate (GtkAction *gtk_action) up_list->data, NULL, ephy_gui_is_middle_click () ? EPHY_LINK_NEW_TAB : 0); + g_slist_foreach (up_list, (GFunc) g_free, NULL); g_slist_free (up_list); } } -- cgit v1.2.3