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

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit a768533943d1cee90c5561f85f22f3bf35650d7b
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sat Jun 20 10:37:46 2026 +0100

    e graph - no need for dels in smart del
---
 src/bin/e_graph.c | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/src/bin/e_graph.c b/src/bin/e_graph.c
index d4a642d2f..23e416d19 100644
--- a/src/bin/e_graph.c
+++ b/src/bin/e_graph.c
@@ -81,24 +81,8 @@ static void
 _smart_del(Evas_Object *obj)
 {
   ENTRY;
-  int i;
 
-  if (sd->o_vals)
-    {
-      for (i = 0; i < sd->num; i++) evas_object_del(sd->o_vals[i]);
-      free(sd->o_vals);
-      sd->o_vals = NULL;
-    }
-  if (sd->o_grid)
-    {
-      evas_object_del(sd->o_grid);
-      sd->o_grid = NULL;
-    }
-  if (sd->o_base)
-    {
-      evas_object_del(sd->o_base);
-      sd->o_base = NULL;
-    }
+  E_FREE(sd->o_vals);
   eina_stringshare_replace(&sd->colorspec, NULL);
   eina_stringshare_replace(&sd->colorspecdown, NULL);
   sd->o_smart = NULL;

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

Reply via email to