aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tabs-menu.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2003-08-02 21:11:02 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-02 21:11:02 +0800
commit9279c6b1a75518e24ef9c57b9f9113efa90a6cd6 (patch)
tree61d3e7d36b87f7301323ca15aa9eb6ac151002b9 /src/ephy-tabs-menu.c
parent01b6a293d1724b772609c97ad8cdea49cb7ff53e (diff)
downloadgsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar.gz
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar.bz2
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar.lz
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar.xz
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.tar.zst
gsoc2013-epiphany-9279c6b1a75518e24ef9c57b9f9113efa90a6cd6.zip
2003-08-02 Christian Persch
* src/ephy-encodings-menu.c: (build_group): Fix ui xml string. * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): Fix mem leak. * src/ephy-window.c: (remove_from_session), (ephy_window_destroy), (ephy_window_finalize): * src/session.h: * src/session.c: (session_class_init), (session_remove_window): Move up the removal of the window from the session to when it's still valid and non-finalised. Include the window as parameter in the close signal of the session.
Diffstat (limited to 'src/ephy-tabs-menu.c')
-rw-r--r--src/ephy-tabs-menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c
index 67c855d2c..c0339c897 100644
--- a/src/ephy-tabs-menu.c
+++ b/src/ephy-tabs-menu.c
@@ -304,6 +304,8 @@ ephy_tabs_menu_update (EphyTabsMenu *menu)
++i;
}
+ g_list_free (tabs);
+
g_string_append (xml, "</placeholder></submenu></menu></Root>");
egg_menu_merge_insert_action_group (merge, p->action_group, 0);