summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-28 07:54:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-28 13:07:08 -0800
commit332d372b809476df48c987b24476801a61e7e0f2 (patch)
tree37fd62e0ffe2ee54636c4f18af84258b7fc5a4ad /dive.h
parent075aba8f7da8139c1dced48e5c0b8ea60cc7ae8f (diff)
downloadsubsurface-332d372b809476df48c987b24476801a61e7e0f2.tar.gz
Pick GPS coordinates of dive location via map widget
I have some concerns about the way this is implemented - especially the use of gtk_grab_add to make the map widget work has me worried. But it seems to work and survived some test cases that I threw at it. The GtkButton with the Pixmap looks a little off on my screen, but this way it was easy to implement. Feel free to come up with a better design. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index c9f43d81e..6a6ab3eee 100644
--- a/dive.h
+++ b/dive.h
@@ -486,7 +486,7 @@ extern void show_dive_stats(struct dive *);
extern void clear_stats_widgets(void);
extern void show_gps_locations(void);
-extern void show_gps_location(struct dive *);
+extern void show_gps_location(struct dive *, void (*callback)(float, float));
extern void show_yearly_stats(void);