projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c95ed
)
Revert "elm_cnp: support return type for _wl_elm_cnp_selection_get()"
author
Taehyub Kim
<taehyub.kim@samsung.com>
Wed, 21 Dec 2016 08:43:22 +0000
(17:43 +0900)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:10 +0000
(14:37 +0900)
This reverts commit
beec73b881d004d1d8915675b71cb25fada2d405
.
Change-Id: Ia66221f7d3de233e82681464604872be14073193
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index 3a5328908183129d7bdcd156f5dac5ece64dd1db..9f70d9ac7eea75d9d1c169f87d9da3dc4d7dd75c 100644
(file)
--- a/
src/lib/elm_cnp.c
+++ b/
src/lib/elm_cnp.c
@@
-3094,8
+3094,6
@@
_wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
Wl_Cnp_Selection *sel = wl_cnp_selections + selection;
//
- Eina_Bool ret = EINA_FALSE;
-
_wl_elm_cnp_init();
win = elm_win_wl_window_get(obj);
@@
-3148,10
+3146,10
@@
_wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
if (i < 0) return EINA_FALSE;
-
ret =
ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
+ ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
}
- return
ret
;
+ return
EINA_TRUE
;
}
static void