aboutsummaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 23:14:42 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 23:14:42 -0800
commitb08f51cfc60cb2c0fab4954f772a4698498fee05 (patch)
tree5c662bc1b6afe3716cbf3934986005f83b3176ba /info.c
parentb1dc9bf26d8538001a120c8c1635a12129f13c8c (diff)
downloadsubsurface-b08f51cfc60cb2c0fab4954f772a4698498fee05.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'info.c')
-rw-r--r--info.c2
1 files changed, 1 insertions, 1 deletions
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;