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

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit 47783ebc0c2f4262fc12a82277d357cea743e811
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Sun Jun 21 00:14:09 2026 +0100

    Revert "remove pointless obj dels in smart del and handle refocus attempts"
    
    This reverts commit a826a75fea2e7f94282a2bdf3a931b6efabfb288.
    
    oops - need some of this
---
 src/efm/efm_graph.c | 12 ++++++++++++
 src/efm/efm_icon.c  | 15 +++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/src/efm/efm_graph.c b/src/efm/efm_graph.c
index 76e31c2..727f4b7 100644
--- a/src/efm/efm_graph.c
+++ b/src/efm/efm_graph.c
@@ -80,12 +80,24 @@ static void
 _smart_del(Evas_Object *obj)
 { // delete/free efm view
   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;
+    }
   eina_stringshare_replace(&sd->colorspec, NULL);
   sd->o_smart = NULL;
 
diff --git a/src/efm/efm_icon.c b/src/efm/efm_icon.c
index 43d6f45..0530ee4 100644
--- a/src/efm/efm_icon.c
+++ b/src/efm/efm_icon.c
@@ -535,6 +535,21 @@ _smart_del(Evas_Object *obj)
       ecore_thread_cancel(sd->thread_mono_check);
       sd->thread_mono_check = NULL;
     }
+  if (sd->o_image)
+    {
+      evas_object_del(sd->o_image);
+      sd->o_image = NULL;
+    }
+  if (sd->o_image2)
+    {
+      evas_object_del(sd->o_image2);
+      sd->o_image2 = NULL;
+    }
+  if (sd->o_video)
+    {
+      evas_object_del(sd->o_video);
+      sd->o_video = NULL;
+    }
   if (sd->settle_timer)
     {
       ecore_timer_del(sd->settle_timer);

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

Reply via email to