forked from enlightenment/efl
elementary cursor: remove a warning message from Wayland supports
Summary: "_cursors_count" static variable is not used when Elementary is built for Wayland. It should be removed if els_cursor doesn't use it. @fix Test Plan: N/A Reviewers: raster, zmike, ManMower Tags: #efl Differential Revision: https://phab.enlightenment.org/D5065
This commit is contained in:
parent
db7ed3dcdd
commit
14754744fa
|
@ -123,7 +123,10 @@ static struct _Cursor_Id _cursors[] =
|
|||
CURSOR(ELM_CURSOR_WATCH , WATCH , ECORE_COCOA_CURSOR_DEFAULT),
|
||||
CURSOR(ELM_CURSOR_XTERM , XTERM , ECORE_COCOA_CURSOR_IBEAM)
|
||||
};
|
||||
|
||||
#if defined(HAVE_ELEMENTARY_X) || defined(HAVE_ELEMENTARY_COCOA) || defined(HAVE_ELEMENTARY_WIN32)
|
||||
static const int _cursors_count = sizeof(_cursors)/sizeof(struct _Cursor_Id);
|
||||
#endif
|
||||
|
||||
#define ELM_CURSOR_GET_OR_RETURN(cur, obj, ...) \
|
||||
Elm_Cursor *cur; \
|
||||
|
|
Loading…
Reference in New Issue