summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-06-26 15:44:40 +0100
committerTom Hacohen <tom@stosb.com>2015-06-26 15:44:46 +0100
commitc317dd289ed76f85f085db8b994218cd3f94a700 (patch)
tree1448c05953308131184ea76bb66c58ccd055b580
parent6ee69e3b186ac4ae7f8d80b0bb5fe2ff36cbf56f (diff)
Wayland cnp: Fix const qualifier discarding following eolian const fixes.
-rw-r--r--src/lib/elm_cnp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 4b1984709..0424e31aa 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2320,7 +2320,7 @@ static Wl_Cnp_Selection wl_cnp_selection =
2320 2320
2321static void _wl_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED); 2321static void _wl_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
2322static Eina_Bool _wl_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, const void *selbuf, size_t buflen); 2322static Eina_Bool _wl_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, const void *selbuf, size_t buflen);
2323static Eina_Bool _wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, Elm_Drop_Cb datacb EINA_UNUSED, void *udata EINA_UNUSED); 2323static Eina_Bool _wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, Elm_Drop_Cb datacb EINA_UNUSED, void *udata EINA_UNUSED);
2324static Eina_Bool _wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection); 2324static Eina_Bool _wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection);
2325 2325
2326static Eina_Bool _wl_selection_send(void *udata, int type EINA_UNUSED, void *event); 2326static Eina_Bool _wl_selection_send(void *udata, int type EINA_UNUSED, void *event);
@@ -2350,7 +2350,7 @@ static Dropable *_wl_dropable_find(unsigned int win);
2350static void _wl_dropable_handle(Dropable *drop, Evas_Coord x, Evas_Coord y); 2350static void _wl_dropable_handle(Dropable *drop, Evas_Coord x, Evas_Coord y);
2351static void _wl_dropable_all_clean(unsigned int win); 2351static void _wl_dropable_all_clean(unsigned int win);
2352static Eina_Bool _wl_drops_accept(const char *type); 2352static Eina_Bool _wl_drops_accept(const char *type);
2353static unsigned int _wl_elm_widget_window_get(Evas_Object *obj); 2353static unsigned int _wl_elm_widget_window_get(const Evas_Object *obj);
2354static Evas * _wl_evas_get_from_win(unsigned int win); 2354static Evas * _wl_evas_get_from_win(unsigned int win);
2355 2355
2356static void 2356static void
@@ -2457,7 +2457,7 @@ _wl_elm_cnp_selection_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Form
2457} 2457}
2458 2458
2459static Eina_Bool 2459static Eina_Bool
2460_wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata) 2460_wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata)
2461{ 2461{
2462 Ecore_Wl_Window *win; 2462 Ecore_Wl_Window *win;
2463 Wl_Cnp_Selection *sel = &wl_cnp_selection; 2463 Wl_Cnp_Selection *sel = &wl_cnp_selection;
@@ -2473,7 +2473,7 @@ _wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Form
2473 sel->requestwidget = NULL; 2473 sel->requestwidget = NULL;
2474 2474
2475 sel->requestformat = format; 2475 sel->requestformat = format;
2476 sel->requestwidget = obj; 2476 sel->requestwidget = (Evas_Object *) obj;
2477 sel->win = win; 2477 sel->win = win;
2478 /* sel->request(win, ECORE_X_SELECTION_TARGET_TARGETS); */ 2478 /* sel->request(win, ECORE_X_SELECTION_TARGET_TARGETS); */
2479 sel->datacb = datacb; 2479 sel->datacb = datacb;
@@ -3391,7 +3391,7 @@ _wl_drops_accept(const char *type)
3391} 3391}
3392 3392
3393static unsigned int 3393static unsigned int
3394_wl_elm_widget_window_get(Evas_Object *obj) 3394_wl_elm_widget_window_get(const Evas_Object *obj)
3395{ 3395{
3396 Evas_Object *top; 3396 Evas_Object *top;
3397 Ecore_Wl_Window *win = NULL; 3397 Ecore_Wl_Window *win = NULL;