elementary: Fix build issue when x11 is disabled

When we compile efl using --with-x11=none, then
_tempfile_new and _tmpinfo_free end up being undefined, however these
functions are used by wayland too so they need to be defined regardless.

@fix
This commit is contained in:
memeka 2016-05-14 19:58:19 +09:30 committed by Chris Michael
parent 6551aa4471
commit b01af6e57c
1 changed files with 2 additions and 2 deletions

View File

@ -195,10 +195,10 @@ static Eina_Bool _local_elm_drop_target_del(Evas_Object *obj, Elm_Sel_Format fo
Elm_Drag_Pos poscb, void *posdata,
Elm_Drop_Cb dropcb, void *dropdata);
#ifdef HAVE_ELEMENTARY_X
static Ecore_X_Window _x11_elm_widget_xwin_get(const Evas_Object *obj);
static Tmp_Info *_tempfile_new (int size);
static int _tmpinfo_free (Tmp_Info *tmp);
#ifdef HAVE_ELEMENTARY_X
static Ecore_X_Window _x11_elm_widget_xwin_get(const Evas_Object *obj);
typedef struct _X11_Cnp_Selection X11_Cnp_Selection;