From 50006218b6fce73920132f43569f410e6d6c6ae4 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 3 Dec 1999 08:02:36 +0000 Subject: fixed api. 1999-12-02 Miguel de Icaza * e-table-header.c (e_table_header_index): fixed api. 1999-12-01 Miguel de Icaza * test-cols.c (multi_cols_test): Update to simplified API. * test-check.c (check_test): ditto * test-table.c (table_browser_test): ditto * e-table-simple.c (e_table_simple_class_init): Kill column_name method. * e-table-model.h: Kill column_name method. * e-table-col.c (e_table_col_new): Instead of using a column name, use a column index. svn path=/trunk/; revision=1459 --- widgets/e-table-col.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/e-table-col.h') diff --git a/widgets/e-table-col.h b/widgets/e-table-col.h index c8fa6dd581..54f03ae237 100644 --- a/widgets/e-table-col.h +++ b/widgets/e-table-col.h @@ -16,14 +16,14 @@ typedef struct _ETableCol ETableCol; */ struct _ETableCol { GtkObject base; - char *id, *text; + char *text; short width; short min_width; short x; GCompareFunc compare; unsigned int selected:1; unsigned int resizeable:1; - + int col_idx; ECell *ecell; }; @@ -33,7 +33,7 @@ typedef struct { } ETableColClass; GtkType e_table_col_get_type (void); -ETableCol *e_table_col_new (const char *id, const char *text, +ETableCol *e_table_col_new (int col_idx, const char *text, int width, int min_width, ECell *ecell, GCompareFunc compare, gboolean resizable); -- cgit