From: Youngbok Shin Date: Thu, 20 Sep 2018 09:42:53 +0000 (+0900) Subject: circle surface: fix crash when private surface is used X-Git-Tag: submit/tizen/20180920.105841~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c84c36cd8fd1b025d2f1cab569f377e23fa384b0;p=platform%2Fcore%2Fuifw%2Fefl-ext.git circle surface: fix crash when private surface is used Change-Id: I41e3badbab2b80025b14b932feb39a4f200daf0b --- diff --git a/src/wearable/circle/efl_extension_circle_object.c b/src/wearable/circle/efl_extension_circle_object.c index 44e5206..a630d33 100644 --- a/src/wearable/circle/efl_extension_circle_object.c +++ b/src/wearable/circle/efl_extension_circle_object.c @@ -166,7 +166,7 @@ _eext_circle_object_add(Evas_Object *parent, Evas_Object *widget_obj, Eext_Circl obj = elm_table_add(parent); if (!surface) - surface = _eext_circle_surface_init(circle_obj->main_obj, NULL, EEXT_CIRCLE_SURFACE_TYPE_PRIVATE); + surface = _eext_circle_surface_init(obj, NULL, EEXT_CIRCLE_SURFACE_TYPE_PRIVATE); circle_obj = (Eext_Circle_Object *)calloc(1, sizeof(Eext_Circle_Object)); // Obj is expected to be elm_image object.