uri: fix wrong G_GNUC_MALLOC

_get_protocols() points to const memory in 0.10
despite the non-const return value.
This commit is contained in:
Tim-Philipp Müller 2011-11-26 19:45:48 +00:00
parent 4d2cb74850
commit 7eb796d447

View file

@ -144,7 +144,7 @@ GstElement * gst_element_make_from_uri (const GstURIType type,
GType gst_uri_handler_get_type (void);
guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler) G_GNUC_MALLOC;
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
const gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
const gchar * uri);