diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index 74b4815430..ad156ae59b 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h @@ -489,7 +489,7 @@ EAPI void ecore_wl_input_pointer_set(Ecore_Wl_Input *input, struct wl_surface *s EAPI void ecore_wl_input_cursor_from_name_set(Ecore_Wl_Input *input, const char *cursor_name); EAPI void ecore_wl_input_cursor_default_restore(Ecore_Wl_Input *input); -EAPI struct wl_list ecore_wl_outputs_get(void); +EAPI struct wl_list *ecore_wl_outputs_get(void); /** * Retrieves the Wayland Globals Interface list used for the current Wayland connection. diff --git a/src/lib/ecore_wayland/ecore_wl_output.c b/src/lib/ecore_wayland/ecore_wl_output.c index 5498895007..f0c59b4786 100644 --- a/src/lib/ecore_wayland/ecore_wl_output.c +++ b/src/lib/ecore_wayland/ecore_wl_output.c @@ -16,10 +16,10 @@ static const struct wl_output_listener _ecore_wl_output_listener = }; /* @since 1.2 */ -EAPI struct wl_list +EAPI struct wl_list * ecore_wl_outputs_get(void) { - return _ecore_wl_disp->outputs; + return &(_ecore_wl_disp->outputs); } void