summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-24 19:14:21 +0100
committerTom Hacohen <tom@stosb.com>2016-05-24 19:27:47 +0100
commit4bae0f135a9bb9fa57f8a5cd3ee42ace049d893d (patch)
tree0bd5f426dc43f598a5554c042bb412d8c22dfc41
parentb0ed787d0301ed7adc7ce43f5451ac08bf65b561 (diff)
Eo: use internal unref function intsead of public one.
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.
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 47dade6bec..fa5222d888 100644
--- 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)
491 /* Only unref if we don't have a new parent instead. */ 491 /* Only unref if we don't have a new parent instead. */
492 if (!parent_id) 492 if (!parent_id)
493 { 493 {
494 eo_unref(obj); 494 _eo_unref(eo_obj);
495 } 495 }
496 } 496 }
497 497