and adapt to the api i changed (a 1.7 api so no probs) for cnp.

SVN revision: 75524
This commit is contained in:
Carsten Haitzler 2012-08-22 08:34:06 +00:00
parent 1453f157fd
commit 342795710b
1 changed files with 2 additions and 1 deletions

View File

@ -703,7 +703,8 @@ _take_selection(Evas_Object *obj, Elm_Sel_Type type)
sd->have_sel = EINA_FALSE;
elm_cnp_selection_set(sd->win, type,
ELM_SEL_FORMAT_TEXT, s, strlen(s));
elm_cnp_selection_loss_callback_set(type, _lost_selection, obj);
elm_cnp_selection_loss_callback_set(sd->win, type,
_lost_selection, obj);
sd->have_sel = EINA_TRUE;
}
free(s);