summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-01-23 17:48:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-23 08:49:10 -0800
commitb1db60ba4795638192c0dea93670d858d4178528 (patch)
treef64a12f1a80ce338e7aa8552ccb8aefc9c96c061 /deco.c
parentc149921df4d8ddd8d0df8b44cc7962bec980712d (diff)
downloadsubsurface-b1db60ba4795638192c0dea93670d858d4178528.tar.gz
divelist.c:icon_click_cb(): check if a GtkTreePath is found
In icon_click_cb() we need to check if a correct GtkTreePath is found (using gtk_tree_view_get_path_at_pos()) before requesting a GtkTreeIter for it. Without this patch a bug is reproducible, where the user may click outside of the GtkTreeView entries, but still in the GtkTreeView - e.g. when only one entry is available. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions