From a1a16efad93691078388f909f2a59a26134e306a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sun, 18 Dec 2011 14:11:42 +0100 Subject: command: Rename function do_mute to toggle_mute --- src/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command.c b/src/command.c index c3f80fd..312e8a3 100644 --- a/src/command.c +++ b/src/command.c @@ -121,7 +121,7 @@ volume_up(struct context *ctx, int key) } static void -do_mute(struct context *ctx, int key) +toggle_mute(struct context *ctx, int key) { struct vol_ctl *ctl; pa_operation *o; @@ -192,7 +192,7 @@ struct command_cb_descriptor command_cbs[] = { { "down", down }, { "volume-down", volume_down }, { "volume-up", volume_up }, - { "mute", do_mute }, + { "mute", toggle_mute }, { "switch", switch_sink }, { "quit", quit_cmd }, { NULL, NULL } -- cgit