projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d3408
)
structure: use G_GNUC_NULL_TERMINATED for gst_structure_new()
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Thu, 27 Oct 2011 12:25:08 +0000
(13:25 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Thu, 27 Oct 2011 12:25:08 +0000
(13:25 +0100)
If you get a warning, use gst_structure_empty_new().
https://bugzilla.gnome.org/show_bug.cgi?id=343346
gst/gststructure.h
patch
|
blob
|
history
diff --git
a/gst/gststructure.h
b/gst/gststructure.h
index
49ce202
..
964a2a3
100644
(file)
--- 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);