summaryrefslogtreecommitdiff
path: root/src/lib/efl/cxx/efl_part_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/cxx/efl_part_impl.hh')
-rw-r--r--src/lib/efl/cxx/efl_part_impl.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/efl/cxx/efl_part_impl.hh b/src/lib/efl/cxx/efl_part_impl.hh
index b97dda1457..6a0b9ead60 100644
--- a/src/lib/efl/cxx/efl_part_impl.hh
+++ b/src/lib/efl/cxx/efl_part_impl.hh
@@ -7,8 +7,7 @@
#define EOLIAN_CXX_EFL_PART_IMPLEMENTATION \
inline ::efl::Object Part::part(::efl::eina::string_view const& name) const \
{ \
- ::Eo *handle = ::efl_part(_eo_ptr(), name.c_str()); \
- ::___efl_auto_unref_set(handle, false); \
+ ::Eo *handle = ::efl_part_get(_eo_ptr(), name.c_str()); \
return ::efl::Object{handle}; \
}