From 4f77fa639699bdf73f8b40ce2a8e691167dc5efe Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 18 Dec 2001 21:10:42 +0000 Subject: Merging changes: 2001-12-17 Christopher James Lahey * e-cell-toggle.c (etog_set_value): Don't queue a redraw here. the value changed signal will do that automatically. svn path=/trunk/; revision=15160 --- widgets/table/e-cell-toggle.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c index 9ae91d5abc..4f30093921 100644 --- a/widgets/table/e-cell-toggle.c +++ b/widgets/table/e-cell-toggle.c @@ -42,14 +42,6 @@ typedef struct { static ECellClass *parent_class; -static void -etog_queue_redraw (ECellToggleView *text_view, int view_col, int view_row) -{ - e_table_item_redraw_range ( - text_view->cell_view.e_table_item_view, - view_col, view_row, view_col, view_row); -} - /* * ECell::realize method */ @@ -59,12 +51,12 @@ etog_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view) ECellToggleView *toggle_view = g_new0 (ECellToggleView, 1); ETableItem *eti = E_TABLE_ITEM (e_table_item_view); GnomeCanvas *canvas = GNOME_CANVAS_ITEM (eti)->canvas; - + toggle_view->cell_view.ecell = ecell; toggle_view->cell_view.e_table_model = table_model; toggle_view->cell_view.e_table_item_view = e_table_item_view; toggle_view->canvas = canvas; - + return (ECellView *) toggle_view; } @@ -190,7 +182,6 @@ etog_set_value (ECellToggleView *toggle_view, int model_col, int view_col, int r e_table_model_set_value_at (toggle_view->cell_view.e_table_model, model_col, row, GINT_TO_POINTER (value)); - etog_queue_redraw (toggle_view, view_col, row); } /* -- cgit v1.2.3