aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-03-19 15:36:18 -0700
committerCedric Bail <cedric@osg.samsung.com>2018-03-19 15:36:18 -0700
commit90bae9b2715bbd45dc80bc1dfbc03dceed207713 (patch)
tree81b71cf5447997742e3c218ebf89a677e53edda0
parentedje: global class should actually be bound to the main loop. (diff)
downloadefl-90bae9b2715bbd45dc80bc1dfbc03dceed207713.tar.gz
evas: technically the evas canvas is using the main loop, so let's make canvas depend on it for their lifecycle.
-rw-r--r--src/lib/evas/canvas/evas_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 45fae21bce..ed4ff3a1c0 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -198,7 +198,7 @@ evas_shutdown(void)
EAPI Evas *
evas_new(void)
{
- Evas_Object *eo_obj = efl_add(EVAS_CANVAS_CLASS, NULL);
+ Evas_Object *eo_obj = efl_add(EVAS_CANVAS_CLASS, efl_main_loop_get());
return eo_obj;
}