aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-col.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-col.h')
-rw-r--r--widgets/table/e-table-col.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/widgets/table/e-table-col.h b/widgets/table/e-table-col.h
index 215df07797..950bf23352 100644
--- a/widgets/table/e-table-col.h
+++ b/widgets/table/e-table-col.h
@@ -2,13 +2,7 @@
#define _E_TABLE_COL_H_
typedef struct _ETableCol ETableCol;
-
-/*
- * Rendering function for the column header
- */
-typedef struct ERenderContext ERenderContext;
-
-typedef void (*ETableColRenderFn)(ERenderContext *ctxt);
+typedef struct _ECell ECell;
/*
* Information about a single column
@@ -18,16 +12,17 @@ struct _ETableCol {
short width;
short min_width;
short x;
- ETableColRenderFn render;
GCompareFunc compare;
- void *render_data;
unsigned int selected:1;
unsigned int resizeable:1;
+
+ ECell *ecell;
};
ETableCol *e_table_col_new (const char *id, int width, int min_width,
- ETableColRenderFn render, void *render_data,
- GCompareFunc compare, gboolean resizable);
+ ECell *ecell, GCompareFunc compare,
+ gboolean resizable);
#endif /* _E_TABLE_COL_H_ */
+