Added a special Tuple struct member for passing subtune indexes to the
playlist code from plugins.
author |
Matti Hamalainen <ccr@tnsp.org> |
date |
Tue, 18 Sep 2007 23:53:57 +0300 |
parents |
6e5104dcf645 |
children |
5c6994da98c3 aeab45099e32 |
files |
src/audacious/tuple.c src/audacious/tuple.h |
diffstat |
2 files changed, 3 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/src/audacious/tuple.c Tue Sep 18 14:07:22 2007 -0500
+++ b/src/audacious/tuple.c Tue Sep 18 23:53:57 2007 +0300
@@ -100,6 +100,8 @@
gint i;
TUPLE_LOCK_WRITE();
+ g_free(tuple->subtunes);
+
mowgli_dictionary_destroy(tuple->dict, tuple_value_destroy, NULL);
for (i = 0; i < FIELD_LAST; i++)
--- a/src/audacious/tuple.h Tue Sep 18 14:07:22 2007 -0500
+++ b/src/audacious/tuple.h Tue Sep 18 23:53:57 2007 +0300
@@ -82,6 +82,7 @@
mowgli_object_t parent;
mowgli_dictionary_t *dict;
TupleValue *values[FIELD_LAST];
+ gint *subtunes; /* Temporary field for delivering subtune numbers */
} Tuple;