Use G_FLAGS_CLASS_TYPE. (#323273, Kalle Vahlman)

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
	(#323273, Kalle Vahlman)
This commit is contained in:
Matthias Clasen 2005-12-05 18:01:51 +00:00 committed by Matthias Clasen
parent 9948add142
commit 116519a4a7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
(#323273, Kalle Vahlman)
Thu Dec 1 12:53:26 2005 Tim Janik <timj@imendio.com>
* gtype.c: use g_slic_* for all object allocations.

View File

@ -37,7 +37,7 @@ G_BEGIN_DECLS
#define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass))
#define G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS))
#define G_FLAGS_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
#define G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_TYPE (class)))
#define G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_CLASS_TYPE (class)))
#define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM))
#define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS))