summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2020-02-17 18:48:11 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-17 18:48:11 +0900
commitba8c349eedd35608f94996aada44ab8d1c404d4a (patch)
tree92bf9f92b28a427bd89ff2c111681dd3a5355eba
parentef4bfd847a4f09d0cf485e7029c8fc7ef44b263b (diff)
efl_ui_selection_manager: fix a compiler warning for Wayland support
Summary: `_sel_manager_seat_selection_get` is used only for x11. Test Plan: meson build -Dx11=false -Dwl=true Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11363
-rw-r--r--src/lib/elementary/efl_ui_selection_manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_selection_manager.c b/src/lib/elementary/efl_ui_selection_manager.c
index 5a2d0b18bd..76f2c03002 100644
--- a/src/lib/elementary/efl_ui_selection_manager.c
+++ b/src/lib/elementary/efl_ui_selection_manager.c
@@ -50,6 +50,7 @@ static void _set_selection_list(Sel_Manager_Selection *sel_list, Sel_Manager_Sea
50 50
51EAPI int ELM_CNP_EVENT_SELECTION_CHANGED = -1; 51EAPI int ELM_CNP_EVENT_SELECTION_CHANGED = -1;
52 52
53#ifdef HAVE_ELEMENTARY_X
53static Sel_Manager_Seat_Selection * 54static Sel_Manager_Seat_Selection *
54_sel_manager_seat_selection_get(Efl_Ui_Selection_Manager_Data *pd, unsigned int seat) 55_sel_manager_seat_selection_get(Efl_Ui_Selection_Manager_Data *pd, unsigned int seat)
55{ 56{
@@ -66,6 +67,7 @@ _sel_manager_seat_selection_get(Efl_Ui_Selection_Manager_Data *pd, unsigned int
66 67
67 return seat_sel; 68 return seat_sel;
68} 69}
70#endif
69 71
70static inline void 72static inline void
71_owner_change_check(Efl_Ui_Selection_Manager *manager, Efl_Object *owner, 73_owner_change_check(Efl_Ui_Selection_Manager *manager, Efl_Object *owner,