summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Bialonczyk <manio@skyboo.net>2016-07-05 11:45:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-07-05 11:45:00 -0400
commit5dd4a7eddf8287f7ea9009dcefdc35270f3ea1fb (patch)
tree245d8a05fc4376bdbe732862b33595b4dcdf37fc
parent67463782a8c1d6d649abefedfc578c777e828986 (diff)
downloadenlightenment-5dd4a7eddf8287f7ea9009dcefdc35270f3ea1fb.tar.gz
modules/temperature: cosmetics: typo fix (celcius -> celsius)
Reviewers: zmike! Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4129
-rw-r--r--src/modules/temperature/e_mod_config.c2
-rw-r--r--src/modules/temperature/e_mod_main.c6
-rw-r--r--src/modules/temperature/e_mod_main.h2
-rw-r--r--src/modules/temperature/e_mod_udev.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/temperature/e_mod_config.c b/src/modules/temperature/e_mod_config.c
index 3e938c2a60..57f5212174 100644
--- a/src/modules/temperature/e_mod_config.c
+++ b/src/modules/temperature/e_mod_config.c
@@ -220,7 +220,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
ol = e_widget_list_add(evas, 0, 0);
rg = e_widget_radio_group_new(&(cfdata->unit_method));
- ow = e_widget_radio_add(evas, _("Celsius"), CELCIUS, rg);
+ ow = e_widget_radio_add(evas, _("Celsius"), CELSIUS, rg);
e_widget_on_change_hook_set(ow, _cb_display_changed, cfdata);
e_widget_list_object_append(ol, ow, 1, 1, 0.5);
ow = e_widget_radio_add(evas, _("Fahrenheit"), FAHRENHEIT, rg);
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 8a0906fb0a..ab4ef76d37 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -64,7 +64,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
inst->high = 80;
inst->sensor_type = SENSOR_TYPE_NONE;
inst->sensor_name = NULL;
- inst->units = CELCIUS;
+ inst->units = CELSIUS;
#ifdef HAVE_EEZE
inst->backend = UDEV;
#endif
@@ -76,7 +76,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
E_CONFIG_LIMIT(inst->poll_interval, 1, 1024);
E_CONFIG_LIMIT(inst->low, 0, 100);
E_CONFIG_LIMIT(inst->high, 0, 220);
- E_CONFIG_LIMIT(inst->units, CELCIUS, FAHRENHEIT);
+ E_CONFIG_LIMIT(inst->units, CELSIUS, FAHRENHEIT);
#ifdef HAVE_EEZE
E_CONFIG_LIMIT(inst->backend, TEMPGET, UDEV);
#endif
@@ -201,7 +201,7 @@ _gc_id_new(const E_Gadcon_Client_Class *client_class EINA_UNUSED)
inst->high = 80;
inst->sensor_type = SENSOR_TYPE_NONE;
inst->sensor_name = NULL;
- inst->units = CELCIUS;
+ inst->units = CELSIUS;
#ifdef HAVE_EEZE
inst->backend = TEMPGET;
#endif
diff --git a/src/modules/temperature/e_mod_main.h b/src/modules/temperature/e_mod_main.h
index 3d0157e7bf..08a60b1eed 100644
--- a/src/modules/temperature/e_mod_main.h
+++ b/src/modules/temperature/e_mod_main.h
@@ -29,7 +29,7 @@ typedef struct _Config_Face Config_Face;
typedef enum _Unit
{
- CELCIUS,
+ CELSIUS,
FAHRENHEIT
} Unit;
diff --git a/src/modules/temperature/e_mod_udev.c b/src/modules/temperature/e_mod_udev.c
index 54fe27bde1..f0fafd0618 100644
--- a/src/modules/temperature/e_mod_udev.c
+++ b/src/modules/temperature/e_mod_udev.c
@@ -39,7 +39,7 @@ temperature_udev_update(void *data)
cur = strtod(test, NULL);
if (cur > 0)
{
- temp += (cur / 1000); /* udev reports temp in (celcius * 1000) for some reason */
+ temp += (cur / 1000); /* udev reports temp in (celsius * 1000) for some reason */
cpus++;
}
}