forked from enlightenment/edi
kill warning about ignored return
This commit is contained in:
parent
5b594d9481
commit
43871e9a0c
|
@ -264,7 +264,6 @@ _ls_main_cb(void *data,
|
|||
const Eina_File_Direct_Info *info)
|
||||
{
|
||||
Listing_Request *lreq = data;
|
||||
Elm_Object_Item *item;
|
||||
Elm_Genlist_Item_Class *clas = &itc;
|
||||
const char *path;
|
||||
|
||||
|
@ -284,7 +283,7 @@ _ls_main_cb(void *data,
|
|||
}
|
||||
|
||||
path = eina_stringshare_add(info->path);
|
||||
item = elm_genlist_item_sorted_insert(list, clas, path, lreq->parent_it,
|
||||
(void)!elm_genlist_item_sorted_insert(list, clas, path, lreq->parent_it,
|
||||
(clas == &itc2) ? ELM_GENLIST_ITEM_TREE : ELM_GENLIST_ITEM_NONE,
|
||||
_file_list_cmp, _item_sel, path);
|
||||
}
|
||||
|
|
|
@ -160,11 +160,11 @@ EAPI Evas_Object *edi_editor_add(Evas_Object *parent, const char *path)
|
|||
alt = evas_key_modifier_mask_get(e, "Alt");
|
||||
shift = evas_key_modifier_mask_get(e, "Shift");
|
||||
|
||||
evas_object_key_grab(txt, "Prior", ctrl, shift | alt, 1);
|
||||
evas_object_key_grab(txt, "Next", ctrl, shift | alt, 1);
|
||||
evas_object_key_grab(txt, "s", ctrl, shift | alt, 1);
|
||||
evas_object_key_grab(txt, "f", ctrl, shift | alt, 1);
|
||||
evas_object_key_grab(txt, "z", ctrl, shift | alt, 1);
|
||||
(void)!evas_object_key_grab(txt, "Prior", ctrl, shift | alt, 1);
|
||||
(void)!evas_object_key_grab(txt, "Next", ctrl, shift | alt, 1);
|
||||
(void)!evas_object_key_grab(txt, "s", ctrl, shift | alt, 1);
|
||||
(void)!evas_object_key_grab(txt, "f", ctrl, shift | alt, 1);
|
||||
(void)!evas_object_key_grab(txt, "z", ctrl, shift | alt, 1);
|
||||
|
||||
return txt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue