summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Piskun <o.piskun@samsung.com>2017-10-03 15:45:57 +0300
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2017-10-03 15:45:57 +0300
commit561e67733af0f2d1710bf0173ea2fa8da56e73f8 (patch)
tree541c6efd845c021e3b05003e6e96effc932e9098
parenta6747de53db30040b0a0fab3f183ed3b425ae377 (diff)
Refactoring: fix tasks pointers.devs/deepwarrior/refactoring
Summary: make types correct. Reviewers: NikaWhite, i.furs Differential Revision: https://phab.enlightenment.org/D5250
-rw-r--r--src/lib/ui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ui.c b/src/lib/ui.c
index 3f18eca..d83d5b8 100644
--- a/src/lib/ui.c
+++ b/src/lib/ui.c
@@ -1642,7 +1642,7 @@ static void
1642_task_single_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) 1642_task_single_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
1643{ 1643{
1644 Global_Data *gd = data; 1644 Global_Data *gd = data;
1645 Task_Thread *task = event_info; 1645 Task_Single *task = event_info;
1646 task->common.gd = gd; 1646 task->common.gd = gd;
1647 task->common.task = gd->tasks.layout_add; 1647 task->common.task = gd->tasks.layout_add;
1648 task->common.func = _layout_single_add_task; 1648 task->common.func = _layout_single_add_task;
@@ -1675,7 +1675,7 @@ static void
1675_task_state_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) 1675_task_state_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
1676{ 1676{
1677 Global_Data *gd = data; 1677 Global_Data *gd = data;
1678 Task_Thread *task = event_info; 1678 Task_State *task = event_info;
1679 task->common.gd = gd; 1679 task->common.gd = gd;
1680 task->common.task = gd->tasks.layout_add; 1680 task->common.task = gd->tasks.layout_add;
1681 task->common.func = _layout_state_add_task; 1681 task->common.func = _layout_state_add_task;
@@ -1686,7 +1686,7 @@ static void
1686_task_freq_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) 1686_task_freq_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
1687{ 1687{
1688 Global_Data *gd = data; 1688 Global_Data *gd = data;
1689 Task_Thread *task = event_info; 1689 Task_Cpu_Freq *task = event_info;
1690 task->common.gd = gd; 1690 task->common.gd = gd;
1691 task->common.task = gd->tasks.layout_add; 1691 task->common.task = gd->tasks.layout_add;
1692 task->common.func = _layout_cpu_freq_add_task; 1692 task->common.func = _layout_cpu_freq_add_task;
@@ -1697,7 +1697,7 @@ static void
1697_task_use_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) 1697_task_use_register_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
1698{ 1698{
1699 Global_Data *gd = data; 1699 Global_Data *gd = data;
1700 Task_Thread *task = event_info; 1700 Task_Cpu_Use *task = event_info;
1701 task->common.gd = gd; 1701 task->common.gd = gd;
1702 task->common.task = gd->tasks.layout_add; 1702 task->common.task = gd->tasks.layout_add;
1703 task->common.func = _layout_cpuuse_add_task; 1703 task->common.func = _layout_cpuuse_add_task;