Original commit message from CVS:
2005-11-19 Andy Wingo <wingo@pobox.com>
* gsttaglist.h: Whoops, foreach function returns void. Also fix
some constness.
2005-11-19 Andy Wingo <wingo@pobox.com>
+ * gsttaglist.h: Whoops, foreach function returns void. Also fix
+ some constness.
+
* gst/gsttaglist.c:
* gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
GstTagList*. Fixes #143472.
typedef struct
{
GstTagForeachFunc func;
- GstTagList *tag_list;
+ const GstTagList *tag_list;
gpointer data;
}
TagForeachData;
*
* A function that will be called in gst_tag_list_foreach(). The function may
* not modify the tag list.
- *
- * Returns: TRUE if the foreach operation should continue, FALSE if
- * the foreach operation should stop with FALSE.
*/
-typedef gboolean (*GstTagForeachFunc) (const GstTagList *list,
- const gchar * tag,
- gpointer user_data);
+typedef void (*GstTagForeachFunc) (const GstTagList *list,
+ const gchar * tag,
+ gpointer user_data);
typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);