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-memory-store.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table/e-table-memory-store.h') diff --git a/widgets/table/e-table-memory-store.h b/widgets/table/e-table-memory-store.h index c4d312288b..54306da236 100644 --- a/widgets/table/e-table-memory-store.h +++ b/widgets/table/e-table-memory-store.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS #define E_TABLE_MEMORY_STORE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_MEMORY_STORE_TYPE, ETableMemoryStoreClass)) #define E_IS_TABLE_MEMORY_STORE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_MEMORY_STORE_TYPE)) #define E_IS_TABLE_MEMORY_STORE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_MEMORY_STORE_TYPE)) -#define E_TABLE_MEMORY_STORE_GET_CLASS(o) (G_TYPE_CHECK_CLASS_CAST((o), E_TABLE_MEMORY_STORE_TYPE, ETableMemoryStoreClass)) +#define E_TABLE_MEMORY_STORE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TABLE_MEMORY_STORE_TYPE, ETableMemoryStoreClass)) typedef enum { E_TABLE_MEMORY_STORE_COLUMN_TYPE_TERMINATOR, -- cgit v1.2.3