From 2fb9565ed501cc57da1ca42ff540fd123c00ba48 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 9 Nov 2002 02:19:32 +0000 Subject: correct the GET_CLASS macro. 2002-11-08 Chris Toshok * e-table-memory-store.h: correct the GET_CLASS macro. * e-table-one.h: same. * e-table-sorted.h: same. * e-table-subset.h: same. * e-tree-sorted-variable.h: same. * e-tree-table-adapter.h: same. svn path=/trunk/; revision=18680 --- widgets/table/e-table-sorted.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table/e-table-sorted.h') diff --git a/widgets/table/e-table-sorted.h b/widgets/table/e-table-sorted.h index bbee7534a3..e1265b0a08 100644 --- a/widgets/table/e-table-sorted.h +++ b/widgets/table/e-table-sorted.h @@ -37,7 +37,7 @@ G_BEGIN_DECLS #define E_TABLE_SORTED_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_SORTED_TYPE, ETableSortedClass)) #define E_IS_TABLE_SORTED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_SORTED_TYPE)) #define E_IS_TABLE_SORTED_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_SORTED_TYPE)) -#define E_TABLE_SORTED_GET_CLASS(o) (G_TYPE_CHECK_CLASS_CAST((o), E_TABLE_SORTED_TYPE, ETableSortedClass)) +#define E_TABLE_SORTED_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TABLE_SORTED_TYPE, ETableSortedClass)) typedef struct { ETableSubset base; -- cgit