summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen okra Houston <smhouston88@gmail.com>2016-11-08 10:55:57 -0600
committerStephen okra Houston <smhouston88@gmail.com>2016-11-08 10:55:57 -0600
commit77a0316be9028a1de8c5b066032098ecd1b08c18 (patch)
treefa42915f076f559f42f5553f465181133c142454
parent1cbba1232c0e407e755dac714924d9a947c43ce8 (diff)
downloadenlightenment-77a0316be9028a1de8c5b066032098ecd1b08c18.tar.gz
Luncher: Make sure that there is a valid drop before object on dnd.
-rw-r--r--src/modules/luncher/bar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 22cb30894f..dd9dfaffb1 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1612,7 +1612,8 @@ _bar_drop_move(void *data, const char *type EINA_UNUSED, void *event_data)
inst->drop_before = ic;
}
elm_box_unpack(inst->o_icon_con, inst->place_holder);
- elm_box_pack_before(inst->o_icon_con, inst->place_holder, inst->drop_before->o_layout);
+ if (inst->drop_before)
+ elm_box_pack_before(inst->o_icon_con, inst->place_holder, inst->drop_before->o_layout);
}
static void