diff options
Diffstat (limited to 'widgets/e-table.c')
-rw-r--r-- | widgets/e-table.c | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/widgets/e-table.c b/widgets/e-table.c index 795c737b36..3b13e87d6b 100644 --- a/widgets/e-table.c +++ b/widgets/e-table.c @@ -9,28 +9,14 @@ #include <config.h> #include <libgnomeui/gnome-canvas.h> #include "e-table.h" +#include "e-util.h" #define PARENT_OBJECT_TYPE gnome_canvas_get_type () -GtkType -e_table_get_type (void) -{ - static GtkType type = 0; - - if (!type){ - GtkTypeInfo info = { - "ETable", - sizeof (ETable), - sizeof (ETableClass), - (GtkClassInitFunc) e_table_class_init, - (GtkObjectInitFunc) NULL, - NULL, /* reserved 1 */ - NULL, /* reserved 2 */ - (GtkClassInitFunc) NULL - }; - - type = gtk_type_unique (PARENT_OBJECT_TYPE, &info); - } +E_MAKE_TYPE(e_table, "ETable", ETable, e_table_class_init, NULL, PARENT_TYPE); - return type; +ETable * +e_table_new (ETableHeader *eth, ETableModel *etm) +{ } + |