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:
6e79751
)
elm_cnp: support return type for _wl_elm_cnp_selection_get()
author
Taehyub Kim
<taehyub.kim@samsung.com>
Tue, 20 Dec 2016 06:30:20 +0000
(15:30 +0900)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:10 +0000
(14:37 +0900)
Change-Id: I9cc82e340727a0866651aa201fc66e0d0043dd8e
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
42e8964
..
20deaec
100644
(file)
--- a/
src/lib/elm_cnp.c
+++ b/
src/lib/elm_cnp.c
@@
-3086,6
+3086,8
@@
_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);
@@
-3138,10
+3140,10
@@
_wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
if (i < 0) return EINA_FALSE;
- ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
+
ret =
ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
}
- return
EINA_TRUE
;
+ return
ret
;
}
static void