diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 18:09:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 18:09:26 -0700 |
commit | 162b36f4a5007d9c267743bb2f09ac5adc8da408 (patch) | |
tree | c8b4811013b3ae105b9f7d34c7f15226a0b69644 /divelist.c | |
parent | a2c2c7e1a84a98bd05505f699c3c17baf50304ce (diff) | |
download | subsurface-162b36f4a5007d9c267743bb2f09ac5adc8da408.tar.gz |
Make it possible to do "Add Dive" from just the main dive menu
No need for right-clicks. It's inconvenient on lots of laptops etc, so
allow just using the Dive menu as an alternative.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c index c67e42a4f..21f343f7f 100644 --- a/divelist.c +++ b/divelist.c @@ -687,7 +687,7 @@ static void row_activated_cb(GtkTreeView *tree_view, edit_dive_info(get_dive(index)); } -static void add_dive_cb(GtkWidget *menuitem, GtkTreeModel *model) +void add_dive_cb(GtkWidget *menuitem, gpointer data) { struct dive *dive; |