From 342795710b9997f3320061474515d5bcb0638715 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 22 Aug 2012 08:34:06 +0000 Subject: [PATCH] and adapt to the api i changed (a 1.7 api so no probs) for cnp. SVN revision: 75524 --- src/bin/termio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index a9077ae8..76281e03 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -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);