From 7eb796d447eb0c9517f180d0c7a747c12dcd2981 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 26 Nov 2011 19:45:48 +0000 Subject: [PATCH] uri: fix wrong G_GNUC_MALLOC _get_protocols() points to const memory in 0.10 despite the non-const return value. --- gst/gsturi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gsturi.h b/gst/gsturi.h index d071937..5c3f705 100644 --- a/gst/gsturi.h +++ b/gst/gsturi.h @@ -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); -- 2.7.4