Commit c00c8903 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

structure: use G_GNUC_NULL_TERMINATED for gst_structure_new()

If you get a warning, use gst_structure_empty_new().

https://bugzilla.gnome.org/show_bug.cgi?id=343346
parent b6d34084
......@@ -89,7 +89,7 @@ GstStructure * gst_structure_empty_new (const gchar *
GstStructure * gst_structure_id_empty_new (GQuark quark);
GstStructure * gst_structure_new (const gchar * name,
const gchar * firstfield,
...);
...) G_GNUC_NULL_TERMINATED;
GstStructure * gst_structure_new_valist (const gchar * name,
const gchar * firstfield,
va_list varargs);
......
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