summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-01-03 11:35:08 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-01-03 12:16:25 -0800
commitb8ab0ca1f5738891acbb4ef913a328594b2b30d8 (patch)
tree23b65ca84c54a2e6db010743c84b731633f1baf4
parentc19ef910201cc96dce4c7f21b57ce63868b980d0 (diff)
ecore: efl_loop_future_scheduler_get actually should be considered a const method.
-rw-r--r--src/lib/ecore/Ecore_Eo.h2
-rw-r--r--src/lib/ecore/ecore_private.h2
-rw-r--r--src/lib/ecore/efl_loop.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/Ecore_Eo.h b/src/lib/ecore/Ecore_Eo.h
index 77cc3d45e4..290a8be701 100644
--- a/src/lib/ecore/Ecore_Eo.h
+++ b/src/lib/ecore/Ecore_Eo.h
@@ -62,7 +62,7 @@ EAPI int efl_loop_exit_code_process(Eina_Value *value);
62 62
63#include "efl_loop_consumer.eo.h" 63#include "efl_loop_consumer.eo.h"
64 64
65EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(Eo *obj); 65EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(const Eo *obj);
66 66
67#include "efl_loop_fd.eo.h" 67#include "efl_loop_fd.eo.h"
68#include "efl_loop_handler.eo.h" 68#include "efl_loop_handler.eo.h"
diff --git a/src/lib/ecore/ecore_private.h b/src/lib/ecore/ecore_private.h
index 252e697e2a..3854a43b1b 100644
--- a/src/lib/ecore/ecore_private.h
+++ b/src/lib/ecore/ecore_private.h
@@ -107,7 +107,7 @@ struct _Message
107struct _Efl_Loop_Future_Scheduler 107struct _Efl_Loop_Future_Scheduler
108{ 108{
109 Eina_Future_Scheduler eina_future_scheduler; 109 Eina_Future_Scheduler eina_future_scheduler;
110 Eo *loop; 110 const Eo *loop;
111 Efl_Loop_Data *loop_data; 111 Efl_Loop_Data *loop_data;
112}; 112};
113 113
diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c
index f77703e249..badd367cd8 100644
--- a/src/lib/ecore/efl_loop.c
+++ b/src/lib/ecore/efl_loop.c
@@ -715,7 +715,7 @@ _efl_loop_efl_version_get(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd EINA_UNUSED)
715} 715}
716 716
717EAPI Eina_Future_Scheduler * 717EAPI Eina_Future_Scheduler *
718efl_loop_future_scheduler_get(Eo *obj) 718efl_loop_future_scheduler_get(const Eo *obj)
719{ 719{
720 if (!obj) return NULL; 720 if (!obj) return NULL;
721 721