aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/table-test.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-25 17:01:59 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-25 17:01:59 +0800
commita04a846f41febe5b9417b407c9e6b1855eeecf81 (patch)
tree8cd3566d9366eaed80662860d74097518c253c1a /widgets/table/table-test.c
parent385ccbd512c4c43305dee900f86d0f51f94b1200 (diff)
downloadgsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.gz
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.zst
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.zip
It draws the data. WEEEEEEEEE! Miguel
svn path=/trunk/; revision=1435
Diffstat (limited to 'widgets/table/table-test.c')
-rw-r--r--widgets/table/table-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/table-test.c b/widgets/table/table-test.c
index e646b44655..4917511261 100644
--- a/widgets/table/table-test.c
+++ b/widgets/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 (