diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 10:06:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 10:06:24 -0700 |
commit | 9cf8d98711dff888f5bfa8efd52ca7b8cf8bfa07 (patch) | |
tree | 0132709103048b69575cbc428eba6dd6f408000f /libdivecomputer.c | |
parent | eee34232dbbd24b7b3db9e44672e240db2db50e9 (diff) | |
download | subsurface-9cf8d98711dff888f5bfa8efd52ca7b8cf8bfa07.tar.gz |
Make 'struct DiveList' entirely internal to divelist.c
Passing it around is just annoying, and we only ever have one. Let's
not burden all the users with the silly thing.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r-- | libdivecomputer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index c53a81e68..9e5bd907e 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -608,5 +608,5 @@ void import_dialog(GtkWidget *w, gpointer data) gtk_widget_destroy(dialog); report_dives(); - dive_list_update_dives(dive_list); + dive_list_update_dives(); } |