Prevent unused variable warnings from G_DEFINE_DYNAMIC_TYPE

This commit is contained in:
Matthias Clasen 2011-01-28 12:26:23 -05:00
parent 3c59c38404
commit 6fe2f5f11b

View File

@ -193,7 +193,7 @@ type_name##_get_type (void) \
static void \
type_name##_register_type (GTypeModule *type_module) \
{ \
GType g_define_type_id; \
GType g_define_type_id G_GNUC_UNUSED; \
const GTypeInfo g_define_type_info = { \
sizeof (TypeName##Class), \
(GBaseInitFunc) NULL, \