preventive fix (missing check) found by Alfons
This commit is contained in:
parent
0f48b23b1c
commit
38c2094cac
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-11-15 [colin] 0.8.5claws156
|
||||
|
||||
* src/folderview.c
|
||||
Preventive fix (missing check) found by
|
||||
Alfons
|
||||
|
||||
2002-11-15 [paul]
|
||||
|
||||
* NEWS
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=8
|
|||
MICRO_VERSION=5
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=claws155
|
||||
EXTRA_VERSION=claws156
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
|
||||
|
||||
dnl set $target
|
||||
|
|
|
@ -2635,7 +2635,7 @@ static void folderview_drag_received_cb(GtkWidget *widget,
|
|||
item = gtk_ctree_node_get_row_data(GTK_CTREE(widget), node);
|
||||
src_item = folder_find_item_from_path(source);
|
||||
|
||||
if (!src_item || src_item->stype != F_NORMAL) {
|
||||
if (!item || !src_item || src_item->stype != F_NORMAL) {
|
||||
gtk_drag_finish(drag_context, FALSE, FALSE, time);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue