raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=d2c779844844d673b6a6f0a209f2a607a4bdc2c6

commit d2c779844844d673b6a6f0a209f2a607a4bdc2c6
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Jan 4 18:44:58 2016 +0900

    elm wl cnp - fix paste to not crash anymore
    
    this used the wrong widget - it should have used requestwidget. this
    fixes that.
    
    @fix
---
 src/lib/elm_cnp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 411a645..feea589 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2658,7 +2658,9 @@ _wl_selection_receive(void *udata, int type EINA_UNUSED, 
void *event)
                   sdata.data = ev->data;
                   sdata.len = ev->len;
                   sdata.action = sel->action;
-                  sel->datacb(sel->udata, sel->widget, &sdata);
+                  sel->datacb(sel->udata,
+                              sel->requestwidget,
+                              &sdata);
                }
              else
                {

-- 


Reply via email to