mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
This commit is contained in:
parent
b6d34084f2
commit
c00c8903ca
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ GstStructure * gst_structure_empty_new (const gchar *
|
||||||
GstStructure * gst_structure_id_empty_new (GQuark quark);
|
GstStructure * gst_structure_id_empty_new (GQuark quark);
|
||||||
GstStructure * gst_structure_new (const gchar * name,
|
GstStructure * gst_structure_new (const gchar * name,
|
||||||
const gchar * firstfield,
|
const gchar * firstfield,
|
||||||
...);
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
GstStructure * gst_structure_new_valist (const gchar * name,
|
GstStructure * gst_structure_new_valist (const gchar * name,
|
||||||
const gchar * firstfield,
|
const gchar * firstfield,
|
||||||
va_list varargs);
|
va_list varargs);
|
||||||
|
|
Loading…
Reference in a new issue