summaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-14 13:03:27 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-14 13:15:57 +0100
commite46fc140f6acbcd27c3301985bdede85cf2d9625 (patch)
treedf1c103686efc0d37881bdefe9b90b4700102bd5 /src/command.c
parent943285c3ecf9dd7a4839bceab1ca319f989fe2bc (diff)
downloadpa-sink-ctl-e46fc140f6acbcd27c3301985bdede85cf2d9625.tar.gz
pa-sink-ctl-e46fc140f6acbcd27c3301985bdede85cf2d9625.tar.bz2
pa-sink-ctl-e46fc140f6acbcd27c3301985bdede85cf2d9625.zip
Remove unused change_callback
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/command.c b/src/command.c
index 5963fca..6ba62b9 100644
--- a/src/command.c
+++ b/src/command.c
@@ -137,8 +137,7 @@ volume_change(struct context *ctx, gboolean volume_increment)
pa_cvolume_dec(&volume, inc);
- pa_operation_unref(volume_set(ctx->context, index, &volume,
- change_callback, ctx));
+ pa_operation_unref(volume_set(ctx->context, index, &volume, NULL,NULL));
}
static void
@@ -182,8 +181,7 @@ mute(struct context *ctx, int key)
return;
}
- pa_operation_unref(mute_set(ctx->context, index, mute,
- change_callback, ctx));
+ pa_operation_unref(mute_set(ctx->context, index, mute, NULL, NULL));
}
static void
@@ -212,7 +210,7 @@ switch_sink(struct context *ctx, int key)
/* chooser_input needs to be derived from $selected_index */
o = pa_context_move_sink_input_by_index(ctx->context,
input->index, sink->index,
- change_callback, NULL);
+ NULL, NULL);
pa_operation_unref(o);
/* get new chooser_input, if non, select sink as fallback */