From dfb8c61df838c14a311f218a35390e9fae7735fc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 1 Mar 2007 12:52:05 +0000 Subject: ** Fixes bug #357216 2006-02-08 Matthew Barnes ** Fixes bug #357216 * text/e-entry.c: Remove "font", "fontset", and "gdk_font" properties, since they forward gets and sets to non-existant properties in entry->item. 2006-09-27 Matthew Barnes Fixes bug #357970 * text/e-text.c (e_text_unrealize): Don't call deprecated GLib / GDK svn path=/trunk/; revision=33269 --- widgets/table/e-cell-hbox.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'widgets/table/e-cell-hbox.c') diff --git a/widgets/table/e-cell-hbox.c b/widgets/table/e-cell-hbox.c index 722f1eb507..f00ab3f4eb 100644 --- a/widgets/table/e-cell-hbox.c +++ b/widgets/table/e-cell-hbox.c @@ -61,6 +61,8 @@ ecv_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view) hbox_view->cell_view.ecell = ecell; hbox_view->cell_view.e_table_model = table_model; hbox_view->cell_view.e_table_item_view = e_table_item_view; + hbox_view->cell_view.kill_view_cb = NULL; + hbox_view->cell_view.kill_view_cb_data = NULL; /* create our subcell view */ hbox_view->subcell_view_count = ecv->subcell_count; @@ -86,6 +88,12 @@ ecv_kill_view (ECellView *ecv) ECellHboxView *hbox_view = (ECellHboxView *) ecv; int i; + if (hbox_view->cell_view.kill_view_cb) + (hbox_view->cell_view.kill_view_cb)(ecv, hbox_view->cell_view.kill_view_cb_data); + + if (hbox_view->cell_view.kill_view_cb_data) + g_list_free(hbox_view->cell_view.kill_view_cb_data); + /* kill our subcell view */ for (i = 0; i < hbox_view->subcell_view_count; i++) e_cell_kill_view (hbox_view->subcell_views[i]); -- cgit