Mercurial > audlegacy
comparison src/audacious/effect.c @ 3455:f6b25d4d2245 trunk
discovery.[ch], effect.[ch], general.[ch], visualization.[ch]: remove _enabled(gint i);
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 07 Sep 2007 19:47:13 -0500 |
parents | b0f4ab42dd3b |
children | 96baf555b449 |
comparison
equal
deleted
inserted
replaced
3443:709cd9c2fa8f | 3455:f6b25d4d2245 |
---|---|
131 get_effect_list(void) | 131 get_effect_list(void) |
132 { | 132 { |
133 return ep_data.effect_list; | 133 return ep_data.effect_list; |
134 } | 134 } |
135 | 135 |
136 gboolean | |
137 effect_enabled(int i) | |
138 { | |
139 return (g_list_find | |
140 (ep_data.enabled_list, | |
141 (EffectPlugin *) g_list_nth(ep_data.effect_list, | |
142 i)->data) ? TRUE : FALSE); | |
143 } | |
144 | |
145 gchar * | 136 gchar * |
146 effect_stringify_enabled_list(void) | 137 effect_stringify_enabled_list(void) |
147 { | 138 { |
148 gchar *enalist = NULL, *temp, *temp2; | 139 gchar *enalist = NULL, *temp, *temp2; |
149 GList *node = ep_data.enabled_list; | 140 GList *node = ep_data.enabled_list; |