summaryrefslogtreecommitdiff
path: root/gst/gsturi.c
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2012-07-28 21:23:24 -0400
committerThibault Saunier <thibault.saunier@collabora.com>2012-07-28 21:34:41 -0400
commit4a2b138f52470ab2ea04c53153ba2a31781a6c5b (patch)
tree1aa640834d24dd81b98a7513ee60e108c0721cc3 /gst/gsturi.c
parent05daa261f15e8f65a60adc4f5adc01b556e1817c (diff)
uri: Fix wrong 'array zero-terminated=1' annotation for strings
Diffstat (limited to 'gst/gsturi.c')
-rw-r--r--gst/gsturi.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/gst/gsturi.c b/gst/gsturi.c
index f0ac27678..b51bd4a58 100644
--- a/gst/gsturi.c
+++ b/gst/gsturi.c
@@ -397,9 +397,9 @@ gst_uri_has_protocol (const gchar * uri, const gchar * protocol)
*
* Free-function: g_free
*
- * Returns: (transfer full) (array zero-terminated=1): the location for this
- * URI. Returns NULL if the URI isn't valid. If the URI does not contain
- * a location, an empty string is returned.
+ * Returns: (transfer full): the location for this URI. Returns NULL if the
+ * URI isn't valid. If the URI does not contain a location, an empty
+ * string is returned.
*/
gchar *
gst_uri_get_location (const gchar * uri)
@@ -438,15 +438,14 @@ gst_uri_get_location (const gchar * uri)
/**
* gst_uri_construct:
* @protocol: Protocol for URI
- * @location: (array zero-terminated=1) (transfer none): Location for URI
+ * @location: (transfer none): Location for URI
*
* Constructs a URI for a given valid protocol and location.
*
* Free-function: g_free
*
- * Returns: (transfer full) (array zero-terminated=1): a new string for this
- * URI. Returns NULL if the given URI protocol is not valid, or the given
- * location is NULL.
+ * Returns: (transfer full): a new string for this URI. Returns NULL if the
+ * given URI protocol is not valid, or the given location is NULL.
*/
gchar *
gst_uri_construct (const gchar * protocol, const gchar * location)
@@ -667,9 +666,9 @@ gst_uri_handler_get_uri_type (GstURIHandler * handler)
* Gets the list of protocols supported by @handler. This list may not be
* modified.
*
- * Returns: (transfer none) (array zero-terminated=1) (element-type utf8): the
- * supported protocols. Returns NULL if the @handler isn't implemented
- * properly, or the @handler doesn't support any protocols.
+ * Returns: (transfer none) (element-type utf8): the supported protocols.
+ * Returns NULL if the @handler isn't implemented properly, or the @handler
+ * doesn't support any protocols.
*/
const gchar *const *
gst_uri_handler_get_protocols (GstURIHandler * handler)