This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository echart.

View the commit online.

commit f7f36def75cb0efd7633cb0e4b9ea950328bbb8c
Author: Vincent Torri <[email protected]>
AuthorDate: Thu May 28 07:16:03 2026 +0200

    remove legacy of a previous old echart
---
 src/lib/echart_bar.c  | 8 --------
 src/lib/echart_line.c | 8 --------
 src/lib/echart_pie.c  | 8 --------
 3 files changed, 24 deletions(-)

diff --git a/src/lib/echart_bar.c b/src/lib/echart_bar.c
index 7f00d7f..227a7ed 100644
--- a/src/lib/echart_bar.c
+++ b/src/lib/echart_bar.c
@@ -30,7 +30,6 @@ struct Chart_Bar
 {
    Evas_Object_Smart_Clipped_Data __clipped_data;
 
-   Evas_Object *o_bg;
    Evas_Object *o_vg;
 
    /* evas_vg */
@@ -61,8 +60,6 @@ _bar_smart_add(Evas_Object *obj)
    sd = calloc(1, sizeof(Chart_Bar));
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   sd->o_bg = evas_object_rectangle_add(evas_object_evas_get(obj));
-   evas_object_move(sd->o_bg, 0, 0);
    sd->o_vg = evas_object_vg_add(evas_object_evas_get(obj));
 
    /* evas_vg */
@@ -90,7 +87,6 @@ _bar_smart_del(Evas_Object *obj)
    _parent_sc.del(obj);
 
    free(sd->data);
-   evas_object_del(sd->o_bg);
    evas_object_del(sd->o_vg);
 
    evas_object_smart_data_set(obj, NULL);
@@ -114,7 +110,6 @@ _bar_smart_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
    if ((x == ox) && (y == oy))
       return;
 
-   evas_object_move(sd->o_bg, x, y);
    evas_object_move(sd->o_vg, x, y);
 
    evas_object_smart_changed(obj);
@@ -136,7 +131,6 @@ _bar_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
    if ((w == ow) && (h == oh))
       return;
 
-   evas_object_resize(sd->o_bg, w, h);
    evas_object_resize(sd->o_vg, w, h);
 
    evas_object_smart_changed(obj);
@@ -152,7 +146,6 @@ _bar_smart_show(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_show(sd->o_bg);
    evas_object_show(sd->o_vg);
 }
 
@@ -166,7 +159,6 @@ _bar_smart_hide(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_hide(sd->o_bg);
    evas_object_hide(sd->o_vg);
 }
 
diff --git a/src/lib/echart_line.c b/src/lib/echart_line.c
index 6579548..6db7fa4 100644
--- a/src/lib/echart_line.c
+++ b/src/lib/echart_line.c
@@ -30,7 +30,6 @@ struct Chart_Line
 {
    Evas_Object_Smart_Clipped_Data __clipped_data;
 
-   Evas_Object *o_bg;
    Evas_Object *o_vg;
    /* Evas_Vg_Node *vg_dot; /\* the dot which appears when mouse is over *\/ */
 
@@ -62,8 +61,6 @@ _line_smart_add(Evas_Object *obj)
    sd = calloc(1, sizeof(Chart_Line));
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   sd->o_bg = evas_object_rectangle_add(evas_object_evas_get(obj));
-   evas_object_move(sd->o_bg, 0, 0);
    sd->o_vg = evas_object_vg_add(evas_object_evas_get(obj));
 
    /* evas_vg */
@@ -90,7 +87,6 @@ _line_smart_del(Evas_Object *obj)
 
    _parent_sc.del(obj);
 
-   evas_object_del(sd->o_bg);
    evas_object_del(sd->o_vg);
 
    free(sd->data);
@@ -117,7 +113,6 @@ _line_smart_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
    if ((x == ox) && (y == oy))
       return;
 
-   evas_object_move(sd->o_bg, x, y);
    evas_object_move(sd->o_vg, x, y);
 
    evas_object_smart_changed(obj);
@@ -139,7 +134,6 @@ _line_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
    if ((w == ow) && (h == oh))
       return;
 
-   evas_object_resize(sd->o_bg, w, h);
    evas_object_resize(sd->o_vg, w, h);
 
    evas_object_smart_changed(obj);
@@ -155,7 +149,6 @@ _line_smart_show(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_show(sd->o_bg);
    evas_object_show(sd->o_vg);
 }
 
@@ -169,7 +162,6 @@ _line_smart_hide(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_hide(sd->o_bg);
    evas_object_hide(sd->o_vg);
 }
 
diff --git a/src/lib/echart_pie.c b/src/lib/echart_pie.c
index cd07c8b..bfd15e3 100644
--- a/src/lib/echart_pie.c
+++ b/src/lib/echart_pie.c
@@ -32,7 +32,6 @@ struct Chart_Pie
 {
    Evas_Object_Smart_Clipped_Data __clipped_data;
 
-   Evas_Object *o_bg;
    Evas_Object *o_vg;
 
    /* evas_vg */
@@ -59,8 +58,6 @@ _pie_smart_add(Evas_Object *obj)
    sd = calloc(1, sizeof(Chart_Pie));
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   sd->o_bg = evas_object_rectangle_add(evas_object_evas_get(obj));
-   evas_object_move(sd->o_bg, 0, 0);
    sd->o_vg = evas_object_vg_add(evas_object_evas_get(obj));
 
    /* evas_vg */
@@ -87,7 +84,6 @@ _pie_smart_del(Evas_Object *obj)
    _parent_sc.del(obj);
 
    free(sd->data);
-   evas_object_del(sd->o_bg);
    evas_object_del(sd->o_vg);
 
    evas_object_smart_data_set(obj, NULL);
@@ -111,7 +107,6 @@ _pie_smart_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
    if ((x == ox) && (y == oy))
       return;
 
-   evas_object_move(sd->o_bg, x, y);
    evas_object_move(sd->o_vg, x, y);
 
    evas_object_smart_changed(obj);
@@ -133,7 +128,6 @@ _pie_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
    if ((w == ow) && (h == oh))
       return;
 
-   evas_object_resize(sd->o_bg, w, h);
    evas_object_resize(sd->o_vg, w, h);
 
    evas_object_smart_changed(obj);
@@ -149,7 +143,6 @@ _pie_smart_show(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_show(sd->o_bg);
    evas_object_show(sd->o_vg);
 }
 
@@ -163,7 +156,6 @@ _pie_smart_hide(Evas_Object *obj)
    sd = evas_object_smart_data_get(obj);
    EINA_SAFETY_ON_NULL_RETURN(sd);
 
-   evas_object_hide(sd->o_bg);
    evas_object_hide(sd->o_vg);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to