elm wl cnp - fix paste to not crash anymore 89/58689/1 accepted/tizen/ivi/20160218.024734 accepted/tizen/mobile/20160203.052039 accepted/tizen/tv/20160203.052057 accepted/tizen/wearable/20160203.052113 submit/tizen/20160203.010016 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 4 Jan 2016 09:44:58 +0000 (18:44 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Wed, 3 Feb 2016 00:54:51 +0000 (09:54 +0900)
this used the wrong widget - it should have used requestwidget. this
fixes that.

@fix

Change-Id: Ief411503fc2f0cbf545a558ca7048acea5472130

src/lib/elm_cnp.c

index 8650d5e3fbeea0590a09e42a2a01fa69bf244f05..b78aa55ef224603b402dd81fe426468753860211 100644 (file)
@@ -2660,7 +2660,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
                {