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)
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)
2658 sdata.data = ev->data; 2658 sdata.data = ev->data;
2659 sdata.len = ev->len; 2659 sdata.len = ev->len;
2660 sdata.action = sel->action; 2660 sdata.action = sel->action;
2661 sel->datacb(sel->udata, sel->widget, &sdata); 2661 sel->datacb(sel->udata,
2662 sel->requestwidget,
2663 &sdata);
2662 } 2664 }
2663 else 2665 else
2664 { 2666 {