aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2017-02-13 11:18:50 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2017-02-13 11:24:42 +0100
commit5388ea5f42023079f72dfd4c531eb2f3e72c1c5a (patch)
tree41c5ebcf1568e64c3c9dfa6e692fab659384cbff /src/modules/temperature/e_mod_main.c
parente thumb - fix alignment warning nuisance (diff)
downloadenlightenment-5388ea5f42023079f72dfd4c531eb2f3e72c1c5a.tar.gz
modules: temperature: Fix spelling for temperature module.
Reviewers: zmike! Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4500
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 861e31332..2afb4018a 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -114,7 +114,7 @@ _temperature_apply(Config_Face *inst, int temp)
#ifdef HAVE_EEZE
static Eina_Bool
-_temprature_udev_poll(void *data)
+_temperature_udev_poll(void *data)
{
Tempthread *tth = data;
int temp = temperature_udev_get(tth);
@@ -323,7 +323,7 @@ _temperature_face_id_max(const Eina_Hash *hash EINA_UNUSED, const void *key, voi
}
static void
-_temprature_check_main(void *data, Ecore_Thread *th)
+_temperature_check_main(void *data, Ecore_Thread *th)
{
Tempthread *tth = data;
int ptemp = -500, temp;
@@ -340,7 +340,7 @@ _temprature_check_main(void *data, Ecore_Thread *th)
}
static void
-_temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
+_temperature_check_notify(void *data, Ecore_Thread *th, void *msg)
{
Tempthread *tth = data;
Config_Face *inst = tth->inst;
@@ -351,7 +351,7 @@ _temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
}
static void
-_temprature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
+_temperature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
{
_temperature_thread_free(data);
}
@@ -374,15 +374,15 @@ temperature_face_update_config(Config_Face *inst)
if (inst->backend != TEMPGET)
{
inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval,
- _temprature_udev_poll, tth);
+ _temperature_udev_poll, tth);
inst->tth = tth;
}
else
#endif
- inst->th = ecore_thread_feedback_run(_temprature_check_main,
- _temprature_check_notify,
- _temprature_check_done,
- _temprature_check_done,
+ inst->th = ecore_thread_feedback_run(_temperature_check_main,
+ _temperature_check_notify,
+ _temperature_check_done,
+ _temperature_check_done,
tth, EINA_TRUE);
}