From 8d75b6689bdf5dc7c1efad65867cba2a656f2dcc Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sun, 28 Nov 1999 03:12:22 +0000 Subject: beginning of the keyboard navigation. 1999-11-27 Miguel de Icaza * e-table-item.c (eti_event): beginning of the keyboard navigation. * e-table-model.c (e_table_model_row_changed): new function. (e_table_model_cell_changed): new function. (e_table_model_class_init): New signals. * e-table-item.c (eti_request_region_redraw): x2, y2 offsets were wrong. (eti_select): Repaint selected region. (eti_request_region_redraw): Fix range. (eti_draw): Correct offset computation here. (e_table_item_class_init): New method: row_selection, handles the selection. Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE. Focusing and selection should be correct now. svn path=/trunk/; revision=1441 --- widgets/table/e-table-col.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widgets/table/e-table-col.c') diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c index 4c61cddd0f..3ffc45a2ed 100644 --- a/widgets/table/e-table-col.c +++ b/widgets/table/e-table-col.c @@ -17,11 +17,11 @@ e_table_col_new (const char *id, int width, int min_width, { ETableCol *etc; - g_return_if_fail (id != NULL); - g_return_if_fail (width >= 0); - g_return_if_fail (min_width >= 0); - g_return_if_fail (width >= min_width); - g_return_if_fail (compare != NULL); + g_return_val_if_fail (id != NULL, NULL); + g_return_val_if_fail (width >= 0, NULL); + g_return_val_if_fail (min_width >= 0, NULL); + g_return_val_if_fail (width >= min_width, NULL); + g_return_val_if_fail (compare != NULL, NULL); etc = g_new (ETableCol, 1); -- cgit v1.2.3