eo: Simplify debug_name_override
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 13 Oct 2017 01:54:54 +0000 (10:54 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 13 Oct 2017 01:57:00 +0000 (10:57 +0900)
commitccee1c0944bedf6c81cf40d0b3bcf42cd18cec66
tree34b2b4a59f7c4946c87b4c5d7d2ebe3eda70dca2
parent10b63836403ca8879f8f371b1ff60892e5ae3405
eo: Simplify debug_name_override

Simply pass in the strbuf and don't expect the callee to own it. This
makes things simpler and safer (it'll crash only if the callee frees
said strbuf, and shouldn't leak). efl_ebug_name is new in the upcoming
release, EFL 1.21.

Realised this after talking with Amitesh. Thanks.

See 999dbd9764426890c0e11841358f9219082b89b2
And c4769ff8989bab2b745017b843f073e5737e91e0
src/lib/edje/edje_smart.c
src/lib/elementary/efl_ui_win.c
src/lib/elementary/elm_widget.c
src/lib/eo/efl_object.eo
src/lib/eo/eo.c
src/lib/eo/eo_base_class.c
src/lib/evas/canvas/evas_name.c
src/lib/evas/canvas/evas_object_image.c
src/lib/evas/canvas/evas_object_smart.c