Mercurial > audlegacy
comparison src/audacious/pluginenum.c @ 2709:47ea8eedd428 trunk
[svn] - drop controlsocket code. this probably does not compile yet.
| author | nenolod |
|---|---|
| date | Wed, 09 May 2007 14:03:11 -0700 |
| parents | c3cd6e47faf6 |
| children | c35913222440 |
comparison
equal
deleted
inserted
replaced
| 2708:b66e6a928a6e | 2709:47ea8eedd428 |
|---|---|
| 34 #include <glib.h> | 34 #include <glib.h> |
| 35 #include <gmodule.h> | 35 #include <gmodule.h> |
| 36 #include <glib/gprintf.h> | 36 #include <glib/gprintf.h> |
| 37 #include <string.h> | 37 #include <string.h> |
| 38 | 38 |
| 39 #include "controlsocket.h" | |
| 40 #include "main.h" | 39 #include "main.h" |
| 41 #include "ui_main.h" | 40 #include "ui_main.h" |
| 42 #include "playback.h" | 41 #include "playback.h" |
| 43 #include "playlist.h" | 42 #include "playlist.h" |
| 44 #include "strings.h" | 43 #include "strings.h" |
| 171 | 170 |
| 172 static void | 171 static void |
| 173 general_plugin_init(Plugin * plugin) | 172 general_plugin_init(Plugin * plugin) |
| 174 { | 173 { |
| 175 GeneralPlugin *p = GENERAL_PLUGIN(plugin); | 174 GeneralPlugin *p = GENERAL_PLUGIN(plugin); |
| 176 p->xmms_session = ctrlsocket_get_session_id(); | 175 p->xmms_session = -1; |
| 177 gp_data.general_list = g_list_append(gp_data.general_list, p); | 176 gp_data.general_list = g_list_append(gp_data.general_list, p); |
| 178 } | 177 } |
| 179 | 178 |
| 180 static void | 179 static void |
| 181 vis_plugin_init(Plugin * plugin) | 180 vis_plugin_init(Plugin * plugin) |
| 182 { | 181 { |
| 183 VisPlugin *p = VIS_PLUGIN(plugin); | 182 VisPlugin *p = VIS_PLUGIN(plugin); |
| 184 p->xmms_session = ctrlsocket_get_session_id(); | 183 p->xmms_session = -1; |
| 185 p->disable_plugin = vis_disable_plugin; | 184 p->disable_plugin = vis_disable_plugin; |
| 186 vp_data.vis_list = g_list_append(vp_data.vis_list, p); | 185 vp_data.vis_list = g_list_append(vp_data.vis_list, p); |
| 187 } | 186 } |
| 188 | 187 |
| 189 static void | 188 static void |
