From 73cc9c4b15ae9b9f62ce966e3d6714727a057451 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 15 May 2016 10:09:41 +0200 Subject: [PATCH] Rename RUNLOOP_CTL_COREOPTS_GET --- menu/cbs/menu_cbs_get_value.c | 2 +- menu/cbs/menu_cbs_start.c | 2 +- menu/menu_displaylist.c | 2 +- runloop.c | 2 +- runloop.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/menu/cbs/menu_cbs_get_value.c b/menu/cbs/menu_cbs_get_value.c index 6ab52e6106..7be80ab7e8 100644 --- a/menu/cbs/menu_cbs_get_value.c +++ b/menu/cbs/menu_cbs_get_value.c @@ -1256,7 +1256,7 @@ static void menu_action_setting_disp_set_label(file_list_t* list, core_option_manager_t *coreopts = NULL; const char *core_opt = NULL; - if (runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts)) + if (runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts)) { core_opt = core_option_manager_get_val(coreopts, type - MENU_SETTINGS_CORE_OPTION_START); diff --git a/menu/cbs/menu_cbs_start.c b/menu/cbs/menu_cbs_start.c index ef0b7b4a31..01ac77fcc8 100644 --- a/menu/cbs/menu_cbs_start.c +++ b/menu/cbs/menu_cbs_start.c @@ -258,7 +258,7 @@ static int action_start_core_setting(unsigned type, unsigned idx = type - MENU_SETTINGS_CORE_OPTION_START; core_option_manager_t *coreopts = NULL; - if (runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts)) + if (runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts)) core_option_manager_set_default(coreopts, idx); return 0; diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 66fdcd1c7f..6a32ff3db0 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3930,7 +3930,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data) { core_option_manager_t *coreopts = NULL; - runloop_ctl(RUNLOOP_CTL_COREOPTS_GET, &coreopts); + runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, &coreopts); for (i = 0; i < opts; i++) menu_entries_add(info->list, diff --git a/runloop.c b/runloop.c index ce0f8f18a4..7ee11b8a51 100644 --- a/runloop.c +++ b/runloop.c @@ -776,7 +776,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) break; case RUNLOOP_CTL_HAS_CORE_OPTIONS: return runloop_core_options; - case RUNLOOP_CTL_COREOPTS_GET: + case RUNLOOP_CTL_CORE_OPTIONS_LIST_GET: { core_option_manager_t **coreopts = (core_option_manager_t**)data; if (!coreopts) diff --git a/runloop.h b/runloop.h index 3c7f5ad9b6..720cc2163f 100644 --- a/runloop.h +++ b/runloop.h @@ -91,7 +91,7 @@ enum runloop_ctl_state RUNLOOP_CTL_HAS_CORE_OPTIONS, RUNLOOP_CTL_GET_CORE_OPTION_SIZE, RUNLOOP_CTL_IS_CORE_OPTION_UPDATED, - RUNLOOP_CTL_COREOPTS_GET, + RUNLOOP_CTL_CORE_OPTIONS_LIST_GET, RUNLOOP_CTL_CORE_OPTION_PREV, RUNLOOP_CTL_CORE_OPTION_NEXT, RUNLOOP_CTL_CORE_OPTIONS_GET,