discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b33d8bdf10efb49c62d570c6a14271fe08df818a
commit b33d8bdf10efb49c62d570c6a14271fe08df818a Author: Mike Blumenkrantz <[email protected]> Date: Tue Aug 4 18:47:59 2015 -0400 allow new drags to be created with no associated mime types --- src/bin/e_dnd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index f3301f9..1b1a73a 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -273,8 +273,6 @@ e_drag_new(int x, int y, E_Drag *drag; unsigned int i; - /* No need to create a drag object without type */ - if ((!types) || (!num_types)) return NULL; drag = e_object_alloc(sizeof(E_Drag) + num_types * sizeof(char *), E_DRAG_TYPE, E_OBJECT_CLEANUP_FUNC(_e_drag_free)); if (!drag) return NULL; --
