projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ed787
)
Eo: use internal unref function intsead of public one.
author
Tom Hacohen
<tom@stosb.com>
Tue, 24 May 2016 18:14:21 +0000
(19:14 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Tue, 24 May 2016 18:27:47 +0000
(19:27 +0100)
This is a micro optimisation that doesn't really matetr, but since
we already have the actual eo object, we may as well use it.
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
47dade6
..
fa5222d
100644
(file)
--- a/
src/lib/eo/eo_base_class.c
+++ b/
src/lib/eo/eo_base_class.c
@@
-491,7
+491,7
@@
_eo_base_parent_set(Eo *obj, Eo_Base_Data *pd, Eo *parent_id)
/* Only unref if we don't have a new parent instead. */
if (!parent_id)
{
-
eo_unref(
obj);
+
_eo_unref(eo_
obj);
}
}