Mercurial > audlegacy
changeset 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 | 709cd9c2fa8f |
children | b0809bc9c618 |
files | src/audacious/discovery.c src/audacious/discovery.h src/audacious/effect.c src/audacious/effect.h src/audacious/general.c src/audacious/general.h src/audacious/visualization.c src/audacious/visualization.h |
diffstat | 8 files changed, 0 insertions(+), 35 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/discovery.c Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/discovery.c Fri Sep 07 19:47:13 2007 -0500 @@ -75,13 +75,6 @@ plugin->enabled = enable; } -gboolean -discovery_enabled(gint i) -{ - return (g_list_find(dp_data.enabled_list, - get_discovery_plugin(i)) != NULL); -} - gchar * discovery_stringify_enabled_list(void) {
--- a/src/audacious/discovery.h Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/discovery.h Fri Sep 07 19:47:13 2007 -0500 @@ -44,7 +44,6 @@ GList *get_discovery_list(void); GList *get_discovery_enabled_list(void); void enable_discovery_plugin(gint i, gboolean enable); -gboolean discovery_enabled(gint i); gchar *discovery_stringify_enabled_list(void); void discovery_enable_from_stringified_list(const gchar * list);
--- a/src/audacious/effect.c Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/effect.c Fri Sep 07 19:47:13 2007 -0500 @@ -133,15 +133,6 @@ return ep_data.effect_list; } -gboolean -effect_enabled(int i) -{ - return (g_list_find - (ep_data.enabled_list, - (EffectPlugin *) g_list_nth(ep_data.effect_list, - i)->data) ? TRUE : FALSE); -} - gchar * effect_stringify_enabled_list(void) {
--- a/src/audacious/effect.h Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/effect.h Fri Sep 07 19:47:13 2007 -0500 @@ -38,7 +38,6 @@ GList *get_effect_list(void); GList *get_effect_enabled_list(void); void enable_effect_plugin(gint i, gboolean enable); -gboolean effect_enabled(gint i); gchar *effect_stringify_enabled_list(void); void effect_enable_from_stringified_list(const gchar * list);
--- a/src/audacious/general.c Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/general.c Fri Sep 07 19:47:13 2007 -0500 @@ -75,13 +75,6 @@ plugin->enabled = enable; } -gboolean -general_enabled(gint i) -{ - return (g_list_find(gp_data.enabled_list, - get_general_plugin(i)) != NULL); -} - gchar * general_stringify_enabled_list(void) {
--- a/src/audacious/general.h Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/general.h Fri Sep 07 19:47:13 2007 -0500 @@ -35,7 +35,6 @@ GList *get_general_list(void); GList *get_general_enabled_list(void); void enable_general_plugin(gint i, gboolean enable); -gboolean general_enabled(gint i); gchar *general_stringify_enabled_list(void); void general_enable_from_stringified_list(const gchar * list);
--- a/src/audacious/visualization.c Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/visualization.c Fri Sep 07 19:47:13 2007 -0500 @@ -124,14 +124,6 @@ vp->enabled = enable; } -gboolean -vis_enabled(gint i) -{ - return (g_list_find - (vp_data.enabled_list, - g_list_nth(vp_data.vis_list, i)->data) != NULL); -} - gchar * vis_stringify_enabled_list(void) {
--- a/src/audacious/visualization.h Fri Sep 07 07:25:19 2007 -0500 +++ b/src/audacious/visualization.h Fri Sep 07 19:47:13 2007 -0500 @@ -43,7 +43,6 @@ void vis_disable_plugin(VisPlugin * vp); void vis_playback_start(void); void vis_playback_stop(void); -gboolean vis_enabled(gint i); gchar *vis_stringify_enabled_list(void); void vis_enable_from_stringified_list(gchar * list); void vis_send_data(gint16 pcm_data[2][512], gint nch, gint length);