aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-01 20:52:05 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-03-01 20:52:05 +0800
commitdfb8c61df838c14a311f218a35390e9fae7735fc (patch)
tree3f3308664648a56b36ecf8d8f1fd0902414703cc /widgets/table/e-cell-text.c
parentf85afa9f7d1b43d9eb56a5c8cb4011f3d2521306 (diff)
downloadgsoc2013-evolution-dfb8c61df838c14a311f218a35390e9fae7735fc.tar.gz
gsoc2013-evolution-dfb8c61df838c14a311f218a35390e9fae7735fc.tar.zst
gsoc2013-evolution-dfb8c61df838c14a311f218a35390e9fae7735fc.zip
** Fixes bug #357216
2006-02-08 Matthew Barnes <mbarnes@redhat.com> ** 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 <mbarnes@redhat.com> Fixes bug #357970 * text/e-text.c (e_text_unrealize): Don't call deprecated GLib / GDK svn path=/trunk/; revision=33269
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 8df67aca24..8406461b90 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -359,12 +359,16 @@ ect_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view)
text_view->cell_view.ecell = ecell;
text_view->cell_view.e_table_model = table_model;
text_view->cell_view.e_table_item_view = e_table_item_view;
+ text_view->cell_view.kill_view_cb = NULL;
+ text_view->cell_view.kill_view_cb_data = NULL;
+
text_view->canvas = canvas;
text_view->xofs = 0.0;
text_view->yofs = 0.0;
-
+
+
return (ECellView *)text_view;
}
@@ -376,6 +380,12 @@ ect_kill_view (ECellView *ecv)
{
ECellTextView *text_view = (ECellTextView *) ecv;
+ if (text_view->cell_view.kill_view_cb)
+ (text_view->cell_view.kill_view_cb)(ecv, text_view->cell_view.kill_view_cb_data);
+
+ if (text_view->cell_view.kill_view_cb_data)
+ g_list_free(text_view->cell_view.kill_view_cb_data);
+
g_free (text_view);
}