Commit 759fe345 authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

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

parent d12034ab
...@@ -139,6 +139,7 @@ gst_structure_id_empty_new (GQuark quark) ...@@ -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) ...@@ -166,6 +167,7 @@ gst_structure_validate_name (const gchar * name)
return TRUE; return TRUE;
} }
#endif
/** /**
* gst_structure_empty_new: * gst_structure_empty_new:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment