'everything' fix segv

SVN revision: 47916
This commit is contained in:
Hannes Janetzek 2010-04-11 04:37:04 +00:00
parent 19ecf36e1b
commit f75e52eb44
1 changed files with 35 additions and 34 deletions

View File

@ -604,8 +604,8 @@ _pan_item_select(Evas_Object *obj, Item *it, int scroll)
edje_object_signal_emit(sd->cur_item->frame, "e,state,unselected", "e");
}
if (it)
{
if (!it) return;
sd->update = EINA_FALSE;
sd->cur_item = it;
@ -641,7 +641,6 @@ _pan_item_select(Evas_Object *obj, Item *it, int scroll)
if (sd->idle_enter) ecore_idle_enterer_del(sd->idle_enter);
sd->idle_enter = ecore_idle_enterer_before_add(_e_smart_reconfigure_do, obj);
}
}
static void
@ -739,6 +738,8 @@ _view_update(Evry_View *view)
int pos, last_pos, last_vis = 0, first_vis = 0;
Eina_Bool update = EINA_FALSE;
sd->cur_item = NULL;
if (!v->state->plugin)
{
_view_clear(view);