comparison gui/cfg.c @ 25710:11faea7ffe9b

Make big gui_opts array const
author reimar
date Sun, 13 Jan 2008 16:17:57 +0000
parents 76f5d8892c04
children 25b40c769b06
comparison
equal deleted inserted replaced
25709:24ee00528e18 25710:11faea7ffe9b
83 83
84 extern int stop_xscreensaver; 84 extern int stop_xscreensaver;
85 extern int m_config_parse_config_file(m_config_t* config, char *conffile); 85 extern int m_config_parse_config_file(m_config_t* config, char *conffile);
86 86
87 static m_config_t * gui_conf; 87 static m_config_t * gui_conf;
88 static m_option_t gui_opts[] = 88 static const m_option_t gui_opts[] =
89 { 89 {
90 { "enable_audio_equ",&gtkEnableAudioEqualizer,CONF_TYPE_FLAG,0,0,1,NULL }, 90 { "enable_audio_equ",&gtkEnableAudioEqualizer,CONF_TYPE_FLAG,0,0,1,NULL },
91 91
92 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL }, 92 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL },
93 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL }, 93 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL },