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)
downloadelementary-c317dd289ed76f85f085db8b994218cd3f94a700.tar.gz
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 =
static void _wl_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static 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);
-static 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);
+static 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);
static Eina_Bool _wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection);
static 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);
static void _wl_dropable_handle(Dropable *drop, Evas_Coord x, Evas_Coord y);
static void _wl_dropable_all_clean(unsigned int win);
static Eina_Bool _wl_drops_accept(const char *type);
-static unsigned int _wl_elm_widget_window_get(Evas_Object *obj);
+static unsigned int _wl_elm_widget_window_get(const Evas_Object *obj);
static Evas * _wl_evas_get_from_win(unsigned int win);
static void
@@ -2457,7 +2457,7 @@ _wl_elm_cnp_selection_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Form
}
static Eina_Bool
-_wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata)
+_wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata)
{
Ecore_Wl_Window *win;
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
sel->requestwidget = NULL;
sel->requestformat = format;
- sel->requestwidget = obj;
+ sel->requestwidget = (Evas_Object *) obj;
sel->win = win;
/* sel->request(win, ECORE_X_SELECTION_TARGET_TARGETS); */
sel->datacb = datacb;
@@ -3391,7 +3391,7 @@ _wl_drops_accept(const char *type)
}
static unsigned int
-_wl_elm_widget_window_get(Evas_Object *obj)
+_wl_elm_widget_window_get(const Evas_Object *obj)
{
Evas_Object *top;
Ecore_Wl_Window *win = NULL;