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 364392dc6025588d86c98b75b686df2c11678d14
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sun Jun 21 00:12:00 2026 +0100

    Revert "e graph - no need for dels in smart del"
    
    This reverts commit a768533943d1cee90c5561f85f22f3bf35650d7b.
    
    oops - we do need this.
---
 src/bin/e_graph.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_graph.c b/src/bin/e_graph.c
index 23e416d19..d4a642d2f 100644
--- a/src/bin/e_graph.c
+++ b/src/bin/e_graph.c
@@ -81,8 +81,24 @@ static void
 _smart_del(Evas_Object *obj)
 {
   ENTRY;
+  int i;
 
-  E_FREE(sd->o_vals);
+  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;
+    }
   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