From ad0a465f93124ad488ab798080d332c23be3af5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 3 Dec 2011 15:18:21 +0000 Subject: [PATCH] taglist: remove gst_tag_list_get_{char,uchar} Those are unused and should never be used anywhere anyway really. --- gst/gsttaglist.c | 56 ------------------------------------------------ gst/gsttaglist.h | 14 ------------ 2 files changed, 70 deletions(-) diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index d7c95b298c..438ba0ea49 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -1397,63 +1397,7 @@ gst_tag_list_get_ ## name ## _index (const GstTagList *list, \ return ret; \ } -/* FIXME 0.11: maybe get rid of _get_char*(), _get_uchar*(), _get_long*(), - * _get_ulong*() and _get_pointer*()? - they are not really useful/common - * enough to warrant convenience accessor functions */ - #define COPY_FUNC /**/ -/** - * gst_tag_list_get_char: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @value: (out): location for the result - * - * Copies the contents for the given tag into the value, merging multiple values - * into one if multiple values are associated with the tag. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -/** - * gst_tag_list_get_char_index: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @index: number of entry to read out - * @value: (out): location for the result - * - * Gets the value that is at the given index for the given tag in the given - * list. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -TAG_MERGE_FUNCS (char, gchar, TRUE); -/** - * gst_tag_list_get_uchar: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @value: (out): location for the result - * - * Copies the contents for the given tag into the value, merging multiple values - * into one if multiple values are associated with the tag. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -/** - * gst_tag_list_get_uchar_index: - * @list: a #GstTagList to get the tag from - * @tag: tag to read out - * @index: number of entry to read out - * @value: (out): location for the result - * - * Gets the value that is at the given index for the given tag in the given - * list. - * - * Returns: TRUE, if a value was copied, FALSE if the tag didn't exist in the - * given list. - */ -TAG_MERGE_FUNCS (uchar, guchar, TRUE); /** * gst_tag_list_get_boolean: * @list: a #GstTagList to get the tag from diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 8a4888785b..7abfc611ac 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -255,20 +255,6 @@ gboolean gst_tag_list_copy_value (GValue * dest, const gchar * tag); /* simplifications (FIXME: do we want them?) */ -gboolean gst_tag_list_get_char (const GstTagList * list, - const gchar * tag, - gchar * value); -gboolean gst_tag_list_get_char_index (const GstTagList * list, - const gchar * tag, - guint index, - gchar * value); -gboolean gst_tag_list_get_uchar (const GstTagList * list, - const gchar * tag, - guchar * value); -gboolean gst_tag_list_get_uchar_index (const GstTagList * list, - const gchar * tag, - guint index, - guchar * value); gboolean gst_tag_list_get_boolean (const GstTagList * list, const gchar * tag, gboolean * value);