Change moved callback in item class to smart callback.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60717
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
GenlistItemIconGetFunc icon_get;
GenlistItemStateGetFunc state_get;
GenlistItemDelFunc del;
- GenlistItemMovedFunc moved;
+ GenlistItemMovedFunc moved; // TODO: do not use this. change this to smart callback.
} func;
const char *mode_item_style;
};
if (after->group_item) it->group_item = after->group_item;
_item_queue(it->wd, it);
+ // TODO: change this to smart callback
if (it->itc->func.moved)
it->itc->func.moved(it->base.widget, it, after, EINA_TRUE);
}
if (before->group_item) it->group_item = before->group_item;
_item_queue(it->wd, it);
+ // TODO: change this to smart callback
if (it->itc->func.moved)
it->itc->func.moved(it->base.widget, it, before, EINA_FALSE);
}