summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interface.c5
-rw-r--r--src/interface.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c
index 0a065ef..4665c55 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -56,7 +56,8 @@ void interface_init(void)
/* register event handler for resize and input */
resize_source_id = g_unix_signal_add(SIGWINCH, interface_resize, NULL);
- input_source_id = g_curses_input_add(menu_win, get_input, NULL);
+ input_source_id = g_curses_input_add(menu_win, interface_get_input,
+ NULL);
refresh();
}
@@ -205,7 +206,7 @@ void set_max_name_len(void)
}
}
-gboolean get_input(gpointer data)
+gboolean interface_get_input(gpointer data)
{
gint c;
gboolean volume_increment = TRUE;
diff --git a/src/interface.h b/src/interface.h
index 96ded7b..a482f5e 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -7,7 +7,7 @@
void print_sink_list(void);
void print_input_list(gint);
void print_volume(pa_volume_t, gint, gint);
-gboolean get_input(gpointer);
+gboolean interface_get_input(gpointer);
void interface_init(void);
gboolean interface_resize(gpointer);
void interface_clear(void);