formatting: trailing whitespace and re-indented.

SVN revision: 44654
This commit is contained in:
Gustavo Sverzut Barbieri 2009-12-22 13:14:07 +00:00
parent 2994d25b35
commit 9ca34faf2d
1 changed files with 72 additions and 72 deletions

View File

@ -105,7 +105,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
_cpufreq_face_update_available(inst);
cpufreq_config->handler = ecore_event_handler_add(E_EVENT_POWERSAVE_UPDATE,
_cpufreq_event_cb_powersave, NULL);
_cpufreq_event_cb_powersave, NULL);
return gcc;
}
@ -269,7 +269,7 @@ _button_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
e_menu_item_radio_set(mi, 1);
e_menu_item_radio_group_set(mi, 1);
if (cpufreq_config->powersave_governor
&& !strcmp(cpufreq_config->powersave_governor, l->data))
&& !strcmp(cpufreq_config->powersave_governor, l->data))
e_menu_item_toggle_set(mi, 1);
e_menu_item_callback_set(mi, _cpufreq_menu_powersave_governor, l->data);
}
@ -419,8 +419,8 @@ _cpufreq_set_frequency(int frequency)
return;
}
// change it to "userspace"
_cpufreq_set_governor("userspace");
// change it to "userspace"
_cpufreq_set_governor("userspace");
snprintf(buf, sizeof(buf),
"%s %s %i", cpufreq_config->set_exe_path, "frequency", frequency);
@ -650,9 +650,9 @@ _cpufreq_status_check_current(Status *s)
s->active = 1;
}
/* hardcoded for testing */
s->can_set_frequency = 1;
s->cur_governor = NULL;
/* hardcoded for testing */
s->can_set_frequency = 1;
s->cur_governor = NULL;
#else
s->active = 0;
@ -975,10 +975,10 @@ _cpufreq_menu_frequency(void * data, E_Menu *m, E_Menu_Item *mi)
/**/
/* module setup */
EAPI E_Module_Api e_modapi =
{
E_MODULE_API_VERSION,
"Cpufreq"
};
{
E_MODULE_API_VERSION,
"Cpufreq"
};
EAPI void *
e_modapi_init(E_Module *m)
@ -1019,8 +1019,8 @@ e_modapi_init(E_Module *m)
cpufreq_config->set_exe_path = strdup(buf);
cpufreq_config->frequency_check_poller =
ecore_poller_add(ECORE_POLLER_CORE,
cpufreq_config->poll_interval,
_cpufreq_cb_check, NULL);
cpufreq_config->poll_interval,
_cpufreq_cb_check, NULL);
cpufreq_config->status = _cpufreq_status_new();
_cpufreq_status_check_available(cpufreq_config->status);