summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2015-06-08 13:22:18 +0900
committerThiep Ha <thiepha@gmail.com>2015-06-09 09:15:52 +0900
commit0d284ea9ebd08b0517c9a0c211ce490eee7d2b16 (patch)
tree598682d69c250afe9c28b6e336a9210ea2ef8860
parent47bd0fa971721a0ba6d538643222c16661c4f780 (diff)
Cnp/Wl: correct object parameter in datacb
This patches corrects object parameter in datacb by changing it to the selection request object.
-rw-r--r--src/lib/elm_cnp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index ac896a819..55bec4287 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -3011,7 +3011,7 @@ _wl_notify_handler_uri(Wl_Cnp_Selection *sel, Ecore_Wl_Event_Selection_Data_Read
3011 ddata.data = stripstr; 3011 ddata.data = stripstr;
3012 ddata.len = strlen(stripstr); 3012 ddata.len = strlen(stripstr);
3013 ddata.action = sel->action; 3013 ddata.action = sel->action;
3014 sel->datacb(sel->udata, sel->widget, &ddata); 3014 sel->datacb(sel->udata, sel->requestwidget, &ddata);
3015 } 3015 }
3016 else 3016 else
3017 { 3017 {
@@ -3070,7 +3070,7 @@ _wl_vcard_receive(Wl_Cnp_Selection *sel, Ecore_Wl_Event_Selection_Data_Ready *ev
3070 ddata.data = ev->data; 3070 ddata.data = ev->data;
3071 ddata.len = ev->len; 3071 ddata.len = ev->len;
3072 ddata.action = sel->action; 3072 ddata.action = sel->action;
3073 sel->datacb(sel->udata, sel->widget, &ddata); 3073 sel->datacb(sel->udata, sel->requestwidget, &ddata);
3074 } 3074 }
3075 else cnp_debug("Paste request\n"); 3075 else cnp_debug("Paste request\n");
3076 3076
@@ -3127,7 +3127,7 @@ _wl_notify_handler_image(Wl_Cnp_Selection *sel, Ecore_Wl_Event_Selection_Data_Re
3127 ddata.data = ev->data; 3127 ddata.data = ev->data;
3128 ddata.len = ev->len; 3128 ddata.len = ev->len;
3129 ddata.action = sel->action; 3129 ddata.action = sel->action;
3130 sel->datacb(sel->udata, sel->widget, &ddata); 3130 sel->datacb(sel->udata, sel->requestwidget, &ddata);
3131 } 3131 }
3132 else 3132 else
3133 { 3133 {
@@ -3186,7 +3186,7 @@ _wl_notify_handler_text(Wl_Cnp_Selection *sel, Ecore_Wl_Event_Selection_Data_Rea
3186 ddata.data = ev->data; 3186 ddata.data = ev->data;
3187 ddata.len = ev->len; 3187 ddata.len = ev->len;
3188 ddata.action = sel->action; 3188 ddata.action = sel->action;
3189 sel->datacb(sel->udata, sel->widget, &ddata); 3189 sel->datacb(sel->udata, sel->requestwidget, &ddata);
3190 } 3190 }
3191 else 3191 else
3192 { 3192 {