devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=459492b9ad98aff535c335d0a6fb990f30c3a49f
commit 459492b9ad98aff535c335d0a6fb990f30c3a49f Author: Chris Michael <[email protected]> Date: Fri Oct 3 14:00:09 2014 -0400 don't define x selection notify handler if we are building for wayland-only Signed-off-by: Chris Michael <[email protected]> --- src/bin/e_entry.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/bin/e_entry.c b/src/bin/e_entry.c index 8a821b6..393547e 100644 --- a/src/bin/e_entry.c +++ b/src/bin/e_entry.c @@ -25,7 +25,9 @@ struct _E_Entry_Smart_Data }; /* local subsystem functions */ +#ifndef HAVE_WAYLAND_ONLY static Eina_Bool _e_entry_x_selection_notify_handler(void *data, int type, void *event); +#endif static void _e_entry_x_selection_update(Evas_Object *entry); @@ -531,10 +533,10 @@ _e_entry_mouse_down_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o } /* Called when the the "selection_notify" event is emitted */ +#ifndef HAVE_WAYLAND_ONLY static Eina_Bool _e_entry_x_selection_notify_handler(void *data, int type __UNUSED__, void *event) { -#ifndef HAVE_WAYLAND_ONLY Evas_Object *entry; E_Entry_Smart_Data *sd; Ecore_X_Event_Selection_Notify *ev; @@ -564,12 +566,9 @@ _e_entry_x_selection_notify_handler(void *data, int type __UNUSED__, void *event } } } -#else - (void)data; - (void)event; -#endif return ECORE_CALLBACK_PASS_ON; } +#endif /* Updates the X selection with the selected text of the entry */ static void --
