hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ba8c349eedd35608f94996aada44ab8d1c404d4a

commit ba8c349eedd35608f94996aada44ab8d1c404d4a
Author: Yeongjong Lee <yj34....@samsung.com>
Date:   Mon Feb 17 18:48:11 2020 +0900

    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
---
 src/lib/elementary/efl_ui_selection_manager.c | 2 ++
 1 file changed, 2 insertions(+)

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
 
 EAPI int ELM_CNP_EVENT_SELECTION_CHANGED = -1;
 
+#ifdef HAVE_ELEMENTARY_X
 static Sel_Manager_Seat_Selection *
 _sel_manager_seat_selection_get(Efl_Ui_Selection_Manager_Data *pd, unsigned 
int seat)
 {
@@ -66,6 +67,7 @@ _sel_manager_seat_selection_get(Efl_Ui_Selection_Manager_Data 
*pd, unsigned int
 
    return seat_sel;
 }
+#endif
 
 static inline void
 _owner_change_check(Efl_Ui_Selection_Manager *manager, Efl_Object *owner,

-- 


Reply via email to