summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-01-04 18:44:58 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-01-05 22:24:58 +0900
commitd2c779844844d673b6a6f0a209f2a607a4bdc2c6 (patch)
treea1585b79c1b7881a458c44c01dcbb10f003fa558
parent1056b6ed01475817da2439012057d11865d2c5d8 (diff)
downloadelementary-d2c779844844d673b6a6f0a209f2a607a4bdc2c6.tar.gz
elm wl cnp - fix paste to not crash anymore
this used the wrong widget - it should have used requestwidget. this fixes that. @fix
-rw-r--r--src/lib/elm_cnp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 411a645b7..feea589eb 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
{