Commit c7148798 authored by Morten Welinder's avatar Morten Welinder

wbcg: plug leaks.

parent f6456486
2011-02-17 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_finalize): Remove custum UIs.
* src/stf.c (stf_shutdown): Unregister stf_csv too.
2011-02-16 Morten Welinder <terra@gnome.org>
......
......@@ -11,6 +11,7 @@ Jean:
Morten:
* Import wide sc files. [#641581]
* Fix problem with single-cell names and 'r'-type arguments. [#613273]
* Plug a few leaks.
--------------------------------------------------------------------------
Gnumeric 1.10.13
......
......@@ -5263,6 +5263,15 @@ wbc_gtk_finalize (GObject *obj)
gtk_ui_manager_remove_ui (wbcg->ui, wbcg->templates.merge_id);
UNREF_OBJ (templates.actions);
{
GSList *l, *uis = go_hash_keys (wbcg->custom_uis);
for (l = uis; l; l = l->next) {
GnmAppExtraUI *extra_ui = l->data;
cb_remove_custom_ui (NULL, extra_ui, wbcg);
}
g_slist_free (uis);
}
g_hash_table_destroy (wbcg->custom_uis);
UNREF_OBJ (zoom_vaction);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment