summaryrefslogtreecommitdiff
path: root/gst/gstcaps.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-02-23 12:44:54 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-02-23 12:44:54 +0100
commit97be4713ea3f823bd7e9595b3382daa2f1b011fc (patch)
treefa9db75d6f7158af9faa8df80ad532899c6c4e02 /gst/gstcaps.h
parentbd028a75245dec163aac524493d7c5eb31eeac77 (diff)
caps: warn when make_writable result is ignored
Diffstat (limited to 'gst/gstcaps.h')
-rw-r--r--gst/gstcaps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstcaps.h b/gst/gstcaps.h
index 2302d5ece..fd6c411fb 100644
--- a/gst/gstcaps.h
+++ b/gst/gstcaps.h
@@ -266,7 +266,7 @@ GstCaps * gst_caps_new_full_valist (GstStructure *structure,
va_list var_args);
/* reference counting */
-GstCaps * gst_caps_make_writable (GstCaps *caps);
+GstCaps * gst_caps_make_writable (GstCaps *caps) G_GNUC_WARN_UNUSED_RESULT;
GType gst_static_caps_get_type (void);
GstCaps * gst_static_caps_get (GstStaticCaps *static_caps);