summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-27 14:44:28 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-27 14:46:47 -0800
commit9e8aaad133736dfc35d8a5163befd7e7196a3b19 (patch)
tree873b2c2eb5a18ccb3e6c2b6f17d9f34230e42d99 /display-gtk.h
parent4c04fe531636dbb21efaa267283aef07248c7ccd (diff)
downloadsubsurface-9e8aaad133736dfc35d8a5163befd7e7196a3b19.tar.gz
When manually adding a dive allow user to set avg depth as well
So far we only allowed setting the max depth. This changes the layout of the entry widget and makes our helper function create_date_time_widget return the hbox in which it positions the time entry. I plan to reuse this later when allowing to edit the duration as well as the start date and time under certain circumstances. This is a small part of a feature request; see #75 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 335cf4962..fb7eaf254 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -52,7 +52,7 @@ enum {
MATCH_AFTER
} found_string_entry;
-extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m);
+extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m, GtkWidget **timehbox);
extern void add_string_list_entry(const char *string, GtkListStore *list);
extern int match_list(GtkListStore *list, const char *string);