From c00c8903caf981651b7db0d876ad40e96b98df9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 27 Oct 2011 13:25:08 +0100 Subject: [PATCH] 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 --- gst/gststructure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gststructure.h b/gst/gststructure.h index 49ce202858..964a2a3e24 100644 --- a/gst/gststructure.h +++ b/gst/gststructure.h @@ -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);