From a04a846f41febe5b9417b407c9e6b1855eeecf81 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Thu, 25 Nov 1999 09:01:59 +0000 Subject: It draws the data. WEEEEEEEEE! Miguel svn path=/trunk/; revision=1435 --- widgets/e-table/table-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/e-table/table-test.c') diff --git a/widgets/e-table/table-test.c b/widgets/e-table/table-test.c index e646b44655..4917511261 100644 --- a/widgets/e-table/table-test.c +++ b/widgets/e-table/table-test.c @@ -145,7 +145,7 @@ value_at (ETableModel *etc, int col, int row, void *data) g_assert (col < cols); g_assert (row < lines); - return (void *) &table_data [row][col]; + return (void *) table_data [row][col]; } static void @@ -203,7 +203,7 @@ main (int argc, char *argv []) * Header */ e_table_header = e_table_header_new (); - cell_left_just = e_cell_text_new ("fixed", GTK_JUSTIFY_LEFT); + cell_left_just = e_cell_text_new (e_table_model, "fixed", GTK_JUSTIFY_LEFT); for (i = 0; i < cols; i++){ ETableCol *ecol = e_table_col_new ( -- cgit