From 3d27036e7affbca3d690f772cf1943b3ab3cea21 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 8 Apr 2006 18:46:44 +0000 Subject: [PATCH] testsuite/test-object.h: Fix broken GObject macros Original commit message from CVS: * testsuite/test-object.h: Fix broken GObject macros --- ChangeLog | 5 +++++ testsuite/test-object.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0400fb0e47..d79206eea6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-08 Stefan Kost + + * testsuite/test-object.h: + Fix broken GObject macros + 2006-04-07 Andy Wingo * examples/remuxer.py: Code dump, work in progress... diff --git a/testsuite/test-object.h b/testsuite/test-object.h index 2a37550659..973cfc1caf 100644 --- a/testsuite/test-object.h +++ b/testsuite/test-object.h @@ -17,7 +17,7 @@ typedef struct { #define TEST_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_TYPE_OBJECT, TestObject)) #define TEST_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TEST_TYPE_OBJECT, TestObjectClass)) #define TEST_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEST_TYPE_OBJECT)) -#define TEST_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), TEST_TYPE_OBJECT)) +#define TEST_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TEST_TYPE_OBJECT)) #define TEST_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TEST_TYPE_OBJECT, TestObjectClass)) GType test_object_get_type (void);