forked from enlightenment/efl
parent
81551dd693
commit
e35721c1ba
|
@ -1796,10 +1796,9 @@ _reorder_tg_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__
|
|||
* gl_moved is called after an item was reordered.
|
||||
* This is only called when reorder mode is enabled.
|
||||
*
|
||||
* @param data : the genlist object passed as data.
|
||||
* @param obj : the genlist object.
|
||||
* @param item : the moved item.
|
||||
* @param rel_item : the relative item.
|
||||
* @param move_after : whether or not the rel_item is after item.
|
||||
*
|
||||
* If the move_after is true,
|
||||
* the item(*item) had been moved after the given relative item(*rel_item) in list.
|
||||
|
@ -1807,7 +1806,7 @@ _reorder_tg_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__
|
|||
* the item(*item) had been moved before the given relative item(*rel_item) in list.
|
||||
*
|
||||
*/
|
||||
static void gl_moved(Evas_Object *obj __UNUSED__, Elm_Genlist_Item *item __UNUSED__, Elm_Genlist_Item *rel_item __UNUSED__, Eina_Bool move_after __UNUSED__)
|
||||
static void gl_moved(Evas_Object *data __UNUSED__, Evas_Object *obj __UNUSED__, Elm_Genlist_Item *item __UNUSED__)
|
||||
{
|
||||
// if needed, add application logic.
|
||||
}
|
||||
|
@ -1863,7 +1862,7 @@ test_genlist11(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
|
|||
itc1.func.icon_get = gl_icon_get;
|
||||
itc1.func.state_get = gl_state_get;
|
||||
itc1.func.del = gl_del;
|
||||
itc1.func.moved = gl_moved;
|
||||
evas_object_smart_callback_add(gl, "moved", (Evas_Smart_Cb)gl_moved, gl);
|
||||
|
||||
for (i = 0; i < 50; i++)
|
||||
elm_genlist_item_append(gl,
|
||||
|
|
|
@ -34,7 +34,7 @@ _st_longpress(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
// store callbacks to handle loading/parsing/freeing of store items from src
|
||||
static Elm_Genlist_Item_Class itc1 =
|
||||
{
|
||||
"message", { NULL, NULL, NULL, NULL, NULL }, NULL
|
||||
"message", { NULL, NULL, NULL, NULL}
|
||||
};
|
||||
|
||||
static const Elm_Store_Item_Mapping it1_mapping[] =
|
||||
|
|
Loading…
Reference in New Issue