diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-06-09 18:30:33 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-06-09 18:30:33 +0100 |
commit | efdd32580e887aeb68108d9578c0388bbc373375 (patch) | |
tree | 37d5b43f3a669cd49f6984f9fb892589e46fe7f0 /gst-libs/gst/tag/tag.h | |
parent | 02580714de9245d3af2e20e8dadddcb081877b01 (diff) |
libs: replace G_CONST_RETURN with 'const'
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
Diffstat (limited to 'gst-libs/gst/tag/tag.h')
-rw-r--r-- | gst-libs/gst/tag/tag.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h index 219fe85aa..8eea4111a 100644 --- a/gst-libs/gst/tag/tag.h +++ b/gst-libs/gst/tag/tag.h @@ -444,8 +444,8 @@ GType gst_tag_image_type_get_type (void); /* functions for vorbis comment manipulation */ -G_CONST_RETURN gchar * gst_tag_from_vorbis_tag (const gchar * vorbis_tag); -G_CONST_RETURN gchar * gst_tag_to_vorbis_tag (const gchar * gst_tag); +const gchar * gst_tag_from_vorbis_tag (const gchar * vorbis_tag); +const gchar * gst_tag_to_vorbis_tag (const gchar * gst_tag); void gst_vorbis_tag_add (GstTagList * list, const gchar * tag, const gchar * value); @@ -466,13 +466,13 @@ GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagLis /* functions for ID3 tag manipulation */ guint gst_tag_id3_genre_count (void); -G_CONST_RETURN gchar * gst_tag_id3_genre_get (const guint id); +const gchar * gst_tag_id3_genre_get (const guint id); GstTagList * gst_tag_list_new_from_id3v1 (const guint8 * data); -G_CONST_RETURN gchar * gst_tag_from_id3_tag (const gchar * id3_tag); -G_CONST_RETURN gchar * gst_tag_from_id3_user_tag (const gchar * type, +const gchar * gst_tag_from_id3_tag (const gchar * id3_tag); +const gchar * gst_tag_from_id3_user_tag (const gchar * type, const gchar * id3_user_tag); -G_CONST_RETURN gchar * gst_tag_to_id3_tag (const gchar * gst_tag); +const gchar * gst_tag_to_id3_tag (const gchar * gst_tag); gboolean gst_tag_list_add_id3_image (GstTagList * tag_list, const guint8 * image_data, |