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:
Youngbok Shin 2017-08-08 10:17:50 -04:00 committed by Mike Blumenkrantz
parent db7ed3dcdd
commit 14754744fa
1 changed files with 3 additions and 0 deletions

View File

@ -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; \