gststructure: Only use methods used in g_* checks if glib checks are disabled

This commit is contained in:
Edward Hervey 2009-04-04 14:35:34 +02:00
parent d12034ab4b
commit 759fe3452a

View file

@ -139,6 +139,7 @@ gst_structure_id_empty_new (GQuark quark)
return gst_structure_id_empty_new_with_size (quark, 0);
}
#ifndef G_DISABLE_CHECKS
static gboolean
gst_structure_validate_name (const gchar * name)
{
@ -166,6 +167,7 @@ gst_structure_validate_name (const gchar * name)
return TRUE;
}
#endif
/**
* gst_structure_empty_new: