mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +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);
|
return gst_structure_id_empty_new_with_size (quark, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef G_DISABLE_CHECKS
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_structure_validate_name (const gchar * name)
|
gst_structure_validate_name (const gchar * name)
|
||||||
{
|
{
|
||||||
|
@ -166,6 +167,7 @@ gst_structure_validate_name (const gchar * name)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_structure_empty_new:
|
* gst_structure_empty_new:
|
||||||
|
|
Loading…
Reference in a new issue