From b08f51cfc60cb2c0fab4954f772a4698498fee05 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Jan 2013 23:14:42 -0800 Subject: Add new gases to the combo box in dive plan entry Once again Gtk does everything it can to make our lives miserable. It requires major hackery to be able to add new gases to the drop down lists "on the fly". Right now this only works if you edit the gas and then use Tab to move to the next field. Signed-off-by: Dirk Hohndel --- info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'info.c') diff --git a/info.c b/info.c index 97f015155..21e13e3e3 100644 --- a/info.c +++ b/info.c @@ -352,7 +352,7 @@ static int match_list(GtkListStore *list, const char *string) return found_string_entry; } -static void add_string_list_entry(const char *string, GtkListStore *list) +void add_string_list_entry(const char *string, GtkListStore *list) { GtkTreeIter *iter, loc; -- cgit v1.2.3-70-g09d2