aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-simple.c')
-rw-r--r--widgets/e-table/e-table-simple.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/e-table/e-table-simple.c b/widgets/e-table/e-table-simple.c
index 32f7145bc6..b23cda1220 100644
--- a/widgets/e-table/e-table-simple.c
+++ b/widgets/e-table/e-table-simple.c
@@ -12,6 +12,8 @@
#include <config.h>
#include "e-table-simple.h"
+#define PARENT_TYPE e_table_model_get_type()
+
static int
simple_column_count (ETableModel *etm)
{
@@ -99,7 +101,7 @@ e_table_simple_get_type (void)
(GtkClassInitFunc) NULL
};
- type = gtk_type_unique (e_table_model_get_type (), &info);
+ type = gtk_type_unique (PARENT_TYPE, &info);
}
return type;