mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gststructure: Only use methods used in g_* checks if glib checks are disabled
This commit is contained in:
parent
d12034ab4b
commit
759fe3452a
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue