summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-20 10:06:24 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-20 10:06:24 -0700
commit9cf8d98711dff888f5bfa8efd52ca7b8cf8bfa07 (patch)
tree0132709103048b69575cbc428eba6dd6f408000f /libdivecomputer.c
parenteee34232dbbd24b7b3db9e44672e240db2db50e9 (diff)
downloadsubsurface-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.c2
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();
}