]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsamixer: remove dead fcn widget_handle_key() in widget.c
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Jan 2021 09:40:53 +0000 (10:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Jan 2021 09:40:53 +0000 (10:40 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsamixer/widget.c

index 17f3aceef35a0816a65b324219ec03c0e8d0a5ca..5fedaba974ebc988e148077da2ef90c7d4062d7b 100644 (file)
@@ -29,10 +29,6 @@ int screen_cols;
 
 static int cursor_visibility = -1;
 
-static void widget_handle_key(int key)
-{
-}
-
 static void update_cursor_visibility(void)
 {
        const struct widget *active_widget;
@@ -87,9 +83,6 @@ void widget_init(struct widget *widget, int lines_, int cols, int y, int x,
                set_panel_userptr(widget->panel, widget);
        }
 
-       //if (!widget->handle_key)
-       //      widget->handle_key = widget_handle_key;
-
        if (old_window)
                delwin(old_window);