summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2017-11-08 12:25:27 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2017-11-08 12:25:27 +0100
commitb1d7440a6e16e93e366fbee1d860f468bf5012da (patch)
tree6572a3bad6d68bacf97846bdebbac68a92bbd672
parentcb1ccc372cbd78fa52ce9737217529bfbcb32161 (diff)
Use efl_unref instead of efl_del for simplicity
It is easier to explain in the tutorials.
-rw-r--r--c-eo-intro/src/eo_intro_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c-eo-intro/src/eo_intro_main.c b/c-eo-intro/src/eo_intro_main.c
index 31218efe..2d8eb0cc 100644
--- a/c-eo-intro/src/eo_intro_main.c
+++ b/c-eo-intro/src/eo_intro_main.c
@@ -83,13 +83,13 @@ _obj_destroy()
83{ 83{
84 // Destroy the root element 84 // Destroy the root element
85 printf ("Deleting root...\n"); 85 printf ("Deleting root...\n");
86 efl_del(_root); 86 efl_unref(_root);
87 printf ("After deleting root:\n"); 87 printf ("After deleting root:\n");
88 _status_print(); 88 _status_print();
89 89
90 // Destroy the child2 element, for which we were keeping an extra reference 90 // Destroy the child2 element, for which we were keeping an extra reference
91 printf ("Deleting Child2...\n"); 91 printf ("Deleting Child2...\n");
92 efl_del(_child2); 92 efl_unref(_child2);
93} 93}
94 94
95EAPI_MAIN void 95EAPI_MAIN void