This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository evisum.
View the commit online.
commit 12d1a0457e89894ba8a981dd6a7d72219f67022d
Author: Alastair Poole <[email protected]>
AuthorDate: Sun Mar 29 08:27:01 2026 +0100
bug in the current root-reset logic
---
src/bin/ui/evisum_ui_graph.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/bin/ui/evisum_ui_graph.c b/src/bin/ui/evisum_ui_graph.c
index 2757a16..6db0590 100644
--- a/src/bin/ui/evisum_ui_graph.c
+++ b/src/bin/ui/evisum_ui_graph.c
@@ -12,10 +12,10 @@ _graph_target_valid(Evas_Object *graph_bg, Evas_Object *graph_vg) {
static Evas_Vg_Container *
_graph_root_reset(Evas_Object *graph_vg) {
Evas_Vg_Container *root;
- Evas_Vg_Node *old_root;
+ Evas_Vg_Node *old_root = evas_object_vg_root_node_get(graph_vg);
- old_root = evas_object_vg_root_node_get(graph_vg);
- if (old_root) efl_del(old_root);
+ /* Detach previous root first; Evas owns VG roots attached to the object. */
+ if (old_root) evas_object_vg_root_node_set(graph_vg, NULL);
root = evas_vg_container_add(graph_vg);
if (!root) return NULL;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.