mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gsttaglist.h: Whoops, foreach function returns void. Also fix some constness.
Original commit message from CVS: 2005-11-19 Andy Wingo <wingo@pobox.com> * gsttaglist.h: Whoops, foreach function returns void. Also fix some constness.
This commit is contained in:
parent
e89aaa7e30
commit
ff1eca9d57
3 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -777,7 +777,7 @@ gst_tag_list_remove_tag (GstTagList * list, const gchar * tag)
|
|||
typedef struct
|
||||
{
|
||||
GstTagForeachFunc func;
|
||||
GstTagList *tag_list;
|
||||
const GstTagList *tag_list;
|
||||
gpointer data;
|
||||
}
|
||||
TagForeachData;
|
||||
|
|
|
@ -64,13 +64,10 @@ typedef GstStructure GstTagList;
|
|||
*
|
||||
* 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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue