summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 20:50:52 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 20:50:52 -0700
commitf7a36cfefd15a46494adfbf237f2db7f97d1fb1b (patch)
treedc1f15d5b2110ae1c5bca288421889676a606a26 /main.c
parent98d556c6f69c63e8fd89b7a435f641fbdd836324 (diff)
downloadsubsurface-f7a36cfefd15a46494adfbf237f2db7f97d1fb1b.tar.gz
Repaint the dives in dive_list_update_dives() instead of in callers
Each caller ends up needing it, and I missed another one. So rather than update the other caller, just do it in dive_list_update_dives() and we can stop worrying about it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index df966a7e8..14c4f26fe 100644
--- a/main.c
+++ b/main.c
@@ -166,7 +166,6 @@ static void file_open(GtkWidget *w, gpointer data)
}
g_slist_free(filenames);
report_dives();
- repaint_dive();
dive_list_update_dives(dive_list);
}
gtk_widget_destroy(dialog);