summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:27:11 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:37:09 +0000
commit5aa8afd60da488ac86d7075cb1a4a25a6fbebec7 (patch)
treeeae094606794fe314ebf933f6377b1bfba6a91fa /src/lib/evas/canvas/evas_object_textblock.c
parentff2765c4afce7b4bef73f1b44c3b4073d0bce9a1 (diff)
evas textblock - fix unused params/vars
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index b968190..a194899 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -7321,7 +7321,7 @@ _style_fetch(const char *style)
7321} 7321}
7322 7322
7323EOLIAN static void 7323EOLIAN static void
7324_efl_canvas_text_style_set(Eo *eo_obj, Efl_Canvas_Text_Data *o, const char *key, const char *style) 7324_efl_canvas_text_style_set(Eo *eo_obj, Efl_Canvas_Text_Data *o EINA_UNUSED, const char *key, const char *style)
7325{ 7325{
7326 // FIXME: Make key value behaviour. 7326 // FIXME: Make key value behaviour.
7327 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 7327 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
@@ -7359,8 +7359,6 @@ evas_object_textblock_style_user_push(Eo *eo_obj, Evas_Textblock_Style *ts)
7359 EINA_SAFETY_ON_NULL_RETURN(eo_obj); 7359 EINA_SAFETY_ON_NULL_RETURN(eo_obj);
7360 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 7360 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
7361 evas_object_async_block(obj); 7361 evas_object_async_block(obj);
7362 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS);
7363 Evas_Textblock_Style *old_ts, *tmp = NULL;
7364 7362
7365 _textblock_style_generic_set(eo_obj, ts, _STYLE_USER); 7363 _textblock_style_generic_set(eo_obj, ts, _STYLE_USER);
7366} 7364}
@@ -7383,9 +7381,6 @@ evas_object_textblock_style_user_pop(Eo *eo_obj)
7383 EINA_SAFETY_ON_NULL_RETURN(eo_obj); 7381 EINA_SAFETY_ON_NULL_RETURN(eo_obj);
7384 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 7382 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
7385 evas_object_async_block(obj); 7383 evas_object_async_block(obj);
7386 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS);
7387 Evas_Textblock_Style *ts = _style_by_key_find(o, _STYLE_USER);
7388
7389 _textblock_style_generic_set(eo_obj, NULL, _STYLE_USER); 7384 _textblock_style_generic_set(eo_obj, NULL, _STYLE_USER);
7390} 7385}
7391 7386