Rename RUNLOOP_CTL_COREOPTS_GET

This commit is contained in:
twinaphex 2016-05-15 10:09:41 +02:00
parent 01777ac500
commit 73cc9c4b15
5 changed files with 5 additions and 5 deletions

View File

@ -1256,7 +1256,7 @@ static void menu_action_setting_disp_set_label(file_list_t* list,
core_option_manager_t *coreopts = NULL; core_option_manager_t *coreopts = NULL;
const char *core_opt = 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, core_opt = core_option_manager_get_val(coreopts,
type - MENU_SETTINGS_CORE_OPTION_START); type - MENU_SETTINGS_CORE_OPTION_START);

View File

@ -258,7 +258,7 @@ static int action_start_core_setting(unsigned type,
unsigned idx = type - MENU_SETTINGS_CORE_OPTION_START; unsigned idx = type - MENU_SETTINGS_CORE_OPTION_START;
core_option_manager_t *coreopts = NULL; 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); core_option_manager_set_default(coreopts, idx);
return 0; return 0;

View File

@ -3930,7 +3930,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
{ {
core_option_manager_t *coreopts = NULL; 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++) for (i = 0; i < opts; i++)
menu_entries_add(info->list, menu_entries_add(info->list,

View File

@ -776,7 +776,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
break; break;
case RUNLOOP_CTL_HAS_CORE_OPTIONS: case RUNLOOP_CTL_HAS_CORE_OPTIONS:
return runloop_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; core_option_manager_t **coreopts = (core_option_manager_t**)data;
if (!coreopts) if (!coreopts)

View File

@ -91,7 +91,7 @@ enum runloop_ctl_state
RUNLOOP_CTL_HAS_CORE_OPTIONS, RUNLOOP_CTL_HAS_CORE_OPTIONS,
RUNLOOP_CTL_GET_CORE_OPTION_SIZE, RUNLOOP_CTL_GET_CORE_OPTION_SIZE,
RUNLOOP_CTL_IS_CORE_OPTION_UPDATED, 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_PREV,
RUNLOOP_CTL_CORE_OPTION_NEXT, RUNLOOP_CTL_CORE_OPTION_NEXT,
RUNLOOP_CTL_CORE_OPTIONS_GET, RUNLOOP_CTL_CORE_OPTIONS_GET,