diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-10-19 21:30:47 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-10-19 21:31:05 +0200 |
commit | a97cfd759d060b87aaf352f9b56884af61dbfb69 (patch) | |
tree | e0bba7fc0bd7e9c5b98b7ff28b94762a696a0e84 | |
parent | 5dde7cc0e330ab7c205adef22078474bc3e8be9e (diff) | |
download | pa-sink-ctl-a97cfd759d060b87aaf352f9b56884af61dbfb69.tar.gz pa-sink-ctl-a97cfd759d060b87aaf352f9b56884af61dbfb69.tar.bz2 pa-sink-ctl-a97cfd759d060b87aaf352f9b56884af61dbfb69.zip |
interface: Rename get_input to interface_get_input
-rw-r--r-- | src/interface.c | 5 | ||||
-rw-r--r-- | src/interface.h | 2 |
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); |