diff options
Diffstat (limited to 'camel/camel-object.h')
-rw-r--r-- | camel/camel-object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-object.h b/camel/camel-object.h index 9b7b62f624..69068e02be 100644 --- a/camel/camel-object.h +++ b/camel/camel-object.h @@ -61,7 +61,7 @@ typedef struct _CamelObjectClass *CamelType; extern CamelType camel_object_type; -#define CAMEL_OBJECT_TYPE (camel_object_type) +#define CAMEL_OBJECT_TYPE (camel_object_get_type ()) /* we can't check casts till we've got the type, use the global type variable because its cheaper */ #define CAMEL_OBJECT(obj) (CAMEL_CHECK_CAST((obj), camel_object_type, CamelObject)) |