From 2922071f2c1fee46bdaf60a820345632d3162b16 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 20 Dec 2011 09:49:17 +0100 Subject: Get rid of chooser_main_ctl and chooser_child Use a current_ctl pointer in struct interface instead. --- src/interface.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/interface.h') diff --git a/src/interface.h b/src/interface.h index c177c15..ef7cdc2 100644 --- a/src/interface.h +++ b/src/interface.h @@ -38,17 +38,12 @@ struct interface { int signal_fd; #endif guint input_source_id; - - gint chooser_main_ctl; - gint chooser_child; - guint max_name_len; gchar *status; -}; -struct vol_ctl * -interface_get_current_ctl(struct interface *ifc, struct vol_ctl **parent); + struct vol_ctl *current_ctl; +}; int interface_get_main_ctl_length(struct interface *ifc); -- cgit