mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make helper function for creating TreeView columns in the dive list
Let's not repeat the boiler-plate code more than necessary. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
61ebee05dc
commit
d3feb78df5
2 changed files with 40 additions and 77 deletions
|
|
@ -8,7 +8,7 @@ struct DiveList {
|
|||
GtkWidget *container_widget;
|
||||
GtkListStore *model;
|
||||
GtkTreeViewColumn *date, *depth, *duration, *location;
|
||||
GtkTreeViewColumn *temperature, *nitrox, *sac;
|
||||
GtkTreeViewColumn *temperature, *cylinder, *nitrox, *sac;
|
||||
};
|
||||
|
||||
struct dive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue