aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-checkbox.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-12-01 13:45:51 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-12-01 13:45:51 +0800
commit8fcf8db2b22d66d6984b0c12b4864f285f4531ad (patch)
treed58e5a9eb6ff793d28dd5ad1db798002cca35da5 /widgets/table/e-cell-checkbox.h
parent0177093e774a519891d4432bf87f5fa6e6c9656d (diff)
downloadgsoc2013-evolution-8fcf8db2b22d66d6984b0c12b4864f285f4531ad.tar.gz
gsoc2013-evolution-8fcf8db2b22d66d6984b0c12b4864f285f4531ad.tar.zst
gsoc2013-evolution-8fcf8db2b22d66d6984b0c12b4864f285f4531ad.zip
This one derives from e-cell-toggle.
1999-11-30 Miguel de Icaza <miguel@gnu.org> * 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
Diffstat (limited to 'widgets/table/e-cell-checkbox.h')
-rw-r--r--widgets/table/e-cell-checkbox.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/widgets/table/e-cell-checkbox.h b/widgets/table/e-cell-checkbox.h
index 6c85fbff21..6afca6bde2 100644
--- a/widgets/table/e-cell-checkbox.h
+++ b/widgets/table/e-cell-checkbox.h
@@ -1,8 +1,7 @@
#ifndef _E_CELL_CHECKBOX_H_
#define _E_CELL_CHECKBOX_H_
-#include <libgnomeui/gnome-canvas.h>
-#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);