forked from enlightenment/efl
elementary: Conditionally define functions based on x11/wayland
These functions are only used if we are compiled with X11 support, so add an #ifdef to remove it from wayland builds @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
8ed0aa02cf
commit
d857445571
|
@ -50,6 +50,7 @@ static const Elm_Layout_Part_Alias_Description _content_aliases[] =
|
||||||
* ILLUME_IND="0, 0, 800, 32"
|
* ILLUME_IND="0, 0, 800, 32"
|
||||||
* ILLUME_STK="0, 568, 800, 32"
|
* ILLUME_STK="0, 568, 800, 32"
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_conformant_part_geometry_get_from_env(const char *part,
|
_conformant_part_geometry_get_from_env(const char *part,
|
||||||
int *sx,
|
int *sx,
|
||||||
|
@ -90,6 +91,7 @@ _conformant_part_geometry_get_from_env(const char *part,
|
||||||
|
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_conformant_part_size_hints_set(Evas_Object *obj,
|
_conformant_part_size_hints_set(Evas_Object *obj,
|
||||||
|
@ -656,6 +658,7 @@ _move_resize_cb(void *data EINA_UNUSED,
|
||||||
_conformant_part_sizing_eval(obj, part_type);
|
_conformant_part_sizing_eval(obj, part_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
static void
|
static void
|
||||||
_show_region_job(void *data)
|
_show_region_job(void *data)
|
||||||
{
|
{
|
||||||
|
@ -680,7 +683,6 @@ _show_region_job(void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
// showing the focused/important region.
|
// showing the focused/important region.
|
||||||
#ifdef HAVE_ELEMENTARY_X
|
|
||||||
static void
|
static void
|
||||||
_on_content_resize(void *data,
|
_on_content_resize(void *data,
|
||||||
Evas *e EINA_UNUSED,
|
Evas *e EINA_UNUSED,
|
||||||
|
|
Loading…
Reference in New Issue