netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=93607705930a192d85de0e42a2e76d7376336ee1
commit 93607705930a192d85de0e42a2e76d7376336ee1 Author: Alastair Poole <[email protected]> Date: Thu May 14 18:37:28 2020 +0100 ui: move thread functions. --- src/bin/ui/ui.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bin/ui/ui.c b/src/bin/ui/ui.c index cc5b76a..08a3ba5 100644 --- a/src/bin/ui/ui.c +++ b/src/bin/ui/ui.c @@ -646,18 +646,6 @@ _process_list(void *data, Ecore_Thread *thread) } } -static void -_thread_end_cb(void *data EINA_UNUSED, Ecore_Thread *thread) -{ - thread = NULL; -} - -static void -_thread_error_cb(void *data EINA_UNUSED, Ecore_Thread *thread) -{ - thread = NULL; -} - static void _btn_icon_state_set(Evas_Object *button, Eina_Bool reverse) { @@ -1604,6 +1592,18 @@ evisum_ui_shutdown(Ui *ui) eina_lock_free(&_lock); } +static void +_thread_end_cb(void *data EINA_UNUSED, Ecore_Thread *thread) +{ + thread = NULL; +} + +static void +_thread_error_cb(void *data EINA_UNUSED, Ecore_Thread *thread) +{ + thread = NULL; +} + static void _sys_info_all_poll(void *data, Ecore_Thread *thread) { --
