diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-13 06:46:05 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-13 06:46:05 +0800 |
commit | e0572a24710ee512eec6441379b1633186b21158 (patch) | |
tree | f57e63bfff6bcc6f3aec4d8978565807b1a5cb6f /widgets/table/e-cell-text.h | |
parent | e1a7e287ecfe037db1069fdd0d8618e39031c2f5 (diff) | |
download | gsoc2013-evolution-e0572a24710ee512eec6441379b1633186b21158.tar.gz gsoc2013-evolution-e0572a24710ee512eec6441379b1633186b21158.tar.zst gsoc2013-evolution-e0572a24710ee512eec6441379b1633186b21158.zip |
Changed the filter function back to being args to be more consistent with
2001-01-12 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.h, e-cell-text.h: Changed the filter function back
to being args to be more consistent with the rest of the object.
svn path=/trunk/; revision=7465
Diffstat (limited to 'widgets/table/e-cell-text.h')
-rw-r--r-- | widgets/table/e-cell-text.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/widgets/table/e-cell-text.h b/widgets/table/e-cell-text.h index c3a8dd546b..582bcd2253 100644 --- a/widgets/table/e-cell-text.h +++ b/widgets/table/e-cell-text.h @@ -28,7 +28,7 @@ #include <gal/e-table/e-cell.h> /* Should return a malloced object. */ -typedef char *(*ECellTextFilter) (ETableModel *table_model, int model_col, int row, void *closure); +typedef char *(*ECellTextFilter) (void *reserved, const void *data, gpointer closure); #define E_CELL_TEXT_TYPE (e_cell_text_get_type ()) #define E_CELL_TEXT(o) (GTK_CHECK_CAST ((o), E_CELL_TEXT_TYPE, ECellText)) @@ -59,9 +59,9 @@ typedef struct { See the XParseColor man page for the formats available. */ int color_column; - ECellTextFilter filter; - void *filter_closure; - + ECellTextFilter filter_func; + gpointer filter_closure; + /* This stores the colors we have allocated. */ GHashTable *colors; } ECellText; @@ -70,10 +70,9 @@ typedef struct { ECellClass parent_class; } ECellTextClass; -GtkType e_cell_text_get_type (void); -ECell *e_cell_text_new (const char *fontname, GtkJustification justify); -void e_cell_text_set_filter (ECell *ecell_text, ECellTextFilter filter, void *closure); - +GtkType e_cell_text_get_type (void); +ECell *e_cell_text_new (const char *fontname, GtkJustification justify); + #endif /* _E_CELL_TEXT_H_ */ |