forked from enlightenment/enlightenment
fix compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
8889a0fc1c
commit
f252cd1bb5
|
@ -485,6 +485,7 @@ _e_desklock_ask_presentation_no(void *data __UNUSED__, E_Dialog *dia)
|
||||||
static void
|
static void
|
||||||
_e_desklock_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
_e_desklock_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
||||||
{
|
{
|
||||||
|
#ifndef HAVE_WAYLAND_ONLY
|
||||||
int timeout, interval, blanking, expose;
|
int timeout, interval, blanking, expose;
|
||||||
|
|
||||||
_e_desklock_ask_presentation_count++;
|
_e_desklock_ask_presentation_count++;
|
||||||
|
@ -493,7 +494,6 @@ _e_desklock_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
||||||
blanking = e_config->screensaver_blanking;
|
blanking = e_config->screensaver_blanking;
|
||||||
expose = e_config->screensaver_expose;
|
expose = e_config->screensaver_expose;
|
||||||
|
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
|
||||||
ecore_x_screensaver_set(timeout, interval, blanking, expose);
|
ecore_x_screensaver_set(timeout, interval, blanking, expose);
|
||||||
#endif
|
#endif
|
||||||
e_object_del(E_OBJECT(dia));
|
e_object_del(E_OBJECT(dia));
|
||||||
|
|
Loading…
Reference in New Issue