oops - fix. dont use that menu there.

SVN revision: 14235
This commit is contained in:
Carsten Haitzler 2005-04-19 03:57:53 +00:00
parent 0a13d9ec3e
commit c50ebf3ee4
1 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,7 @@
/* FIXME: need to handle performance and powersave gonvernors (only auto(ondemand)/manual(userspace) supported now)
* FIXME: check permissions (can execute) setfreq before trying
* FIXME: display throttling state
* FIXME: handle multiple cpu's (yes it's likely rare - but possible)
*/
static Cpufreq *_cpufreq_new(E_Module *module);
@ -462,10 +463,9 @@ _cpufreq_config_menu_new(Cpufreq *e)
e_object_data_set(E_OBJECT(mi), l->data);
e_menu_item_callback_set(mi, _cpufreq_menu_frequency, e);
}
e->menu_frequency = mn;
}
e->menu_frequency = mn;
mn = e_menu_new();
mi = e_menu_item_new(mn);