projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0015515
)
Bug fix: Error in typecast
author
Colin Clark
<colin.clark@cclark.uk>
Mon, 17 Apr 2023 15:38:25 +0000
(16:38 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Mon, 17 Apr 2023 15:38:25 +0000
(16:38 +0100)
src/bar-keywords.cc
patch
|
blob
|
history
diff --git
a/src/bar-keywords.cc
b/src/bar-keywords.cc
index
4d0d84f
..
32876ea
100644
(file)
--- a/
src/bar-keywords.cc
+++ b/
src/bar-keywords.cc
@@
-680,7
+680,7
@@
static void bar_pane_keywords_dnd_receive(GtkWidget *tree_view, GdkDragContext *
{
case TARGET_APP_KEYWORD_PATH:
{
- GList *path =
(GList *)(gtk_selection_data_get_data(selection_data
));
+ GList *path =
static_cast<GList *>(*(gpointer *)(gtk_selection_data_get_data(selection_data)
));
src_valid = keyword_tree_get_iter(keyword_tree, &src_kw_iter, path);
string_list_free(path);
break;