e17/evry: cleanups, comments

SVN revision: 63030
This commit is contained in:
Hannes Janetzek 2011-08-31 12:57:47 +00:00
parent f276811f8a
commit f294fe6cec
2 changed files with 3 additions and 9 deletions

View File

@ -33,10 +33,11 @@ _fetch(Evry_Plugin *plugin, const char *input)
else else
input = NULL; input = NULL;
if (eina_list_data_get(sel->states) == s) if ((eina_list_count(sel->states) == 1))
top_level = 1; top_level = 1;
/* get current items' context */ /* get current items' context,
* which is the previous selectors selected item */
if (sel == sels[0]) if (sel == sels[0])
{ {
subj_sel = 1; subj_sel = 1;

View File

@ -124,13 +124,6 @@ _check_item(const Evry_Item *it)
return 0; return 0;
} }
static int _sort_pos_cb(const void *d1, const void *d2)
{
const Item *it1 = d1;
const Item *it2 = d2;
return ((it1->x + it1->y * 4) - (it2->x + it2->y * 4));
}
static void static void
_item_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) _item_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{ {