summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.c
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-23 18:25:13 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-23 18:25:13 +0200
commitcecfaca55f24f6628beb9a918b10b7ffab266535 (patch)
tree1377e23aaf26f2fe546a8fbd24e882f34299718d /src/pa-sink-ctl.c
parent7eba2fb8fac9f45273f206516070c2ad14e1dfb9 (diff)
downloadpa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.tar.gz
pa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.tar.bz2
pa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.zip
glib curses input-event added (replacement for g_timeout)
Diffstat (limited to 'src/pa-sink-ctl.c')
-rw-r--r--src/pa-sink-ctl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c
index 767a5a6..04d4481 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -63,12 +63,6 @@ static void subscribe_cb(pa_context *c, pa_subscription_event_type_t t, guint32
collect_all_info();
}
-static int loop(gpointer data)
-{
- get_input();
- return TRUE;
-}
-
/*
* is called after connection
*/
@@ -88,7 +82,6 @@ void context_state_callback(pa_context *c, gpointer userdata)
case PA_CONTEXT_READY:
collect_all_info();
- g_timeout_add(3, loop, NULL);
pa_context_set_subscribe_callback(context, subscribe_cb, NULL);
g_assert((o = pa_context_subscribe(c, (pa_subscription_mask_t) (
PA_SUBSCRIPTION_MASK_SINK | PA_SUBSCRIPTION_MASK_SINK_INPUT