discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5dd4a7eddf8287f7ea9009dcefdc35270f3ea1fb

commit 5dd4a7eddf8287f7ea9009dcefdc35270f3ea1fb
Author: Mariusz Bialonczyk <ma...@skyboo.net>
Date:   Tue Jul 5 11:45:00 2016 -0400

    modules/temperature: cosmetics: typo fix (celcius -> celsius)
    
    Reviewers: zmike!
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D4129
---
 src/modules/temperature/e_mod_config.c | 2 +-
 src/modules/temperature/e_mod_main.c   | 6 +++---
 src/modules/temperature/e_mod_main.h   | 2 +-
 src/modules/temperature/e_mod_udev.c   | 2 +-
 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 3e938c2..57f5212 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 8a0906f..ab4ef76 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 3d0157e..08a60b1 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 54fe27b..f0fafd0 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++;
                          }
                     }

-- 


Reply via email to