From 8fcf8db2b22d66d6984b0c12b4864f285f4531ad Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 1 Dec 1999 05:45:51 +0000 Subject: This one derives from e-cell-toggle. 1999-11-30 Miguel de Icaza * e-cell-checkbox.c (e_cell_checkbox_new): This one derives from e-cell-toggle. * check-emtpy.xpm, check-filled.xpm: new files. * e-cell-toggle.c (etog_draw): Paint in white. If we have transparency enabled, do the nice alpha computation. * test-table.c, test-cols.c: new files; They implement the split tests. svn path=/trunk/; revision=1447 --- widgets/e-table/e-cell-checkbox.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'widgets/e-table/e-cell-checkbox.h') diff --git a/widgets/e-table/e-cell-checkbox.h b/widgets/e-table/e-cell-checkbox.h index 6c85fbff21..6afca6bde2 100644 --- a/widgets/e-table/e-cell-checkbox.h +++ b/widgets/e-table/e-cell-checkbox.h @@ -1,8 +1,7 @@ #ifndef _E_CELL_CHECKBOX_H_ #define _E_CELL_CHECKBOX_H_ -#include -#include "e-cell.h" +#include "e-cell-toggle.h" #define E_CELL_CHECKBOX_TYPE (e_cell_checkbox_get_type ()) #define E_CELL_CHECKBOX(o) (GTK_CHECK_CAST ((o), E_CELL_CHECKBOX_TYPE, ECellCheckbox)) @@ -11,11 +10,11 @@ #define E_IS_CELL_CHECKBOX_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_CHECKBOX_TYPE)) typedef struct { - ECell parent; + ECellToggle parent; } ECellCheckbox; typedef struct { - ECellClass parent_class; + ECellToggleClass parent_class; } ECellCheckboxClass; GtkType e_cell_checkbox_get_type (void); -- cgit