aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_textpath.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 13:29:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 13:53:49 +0900
commitd5a31f3f307cb59f92bb24b42def504b3cb5e052 (patch)
tree38c21c157b406f7ce984df69205d56df4f9914de /src/lib/elementary/efl_ui_textpath.c
parentwidget: Make part_text_translate internal (diff)
downloadefl-d5a31f3f307cb59f92bb24b42def504b3cb5e052.tar.gz
edje/elm: Rename _internal_ to _part_ (EO)
In Edje and Elementary, we have part objects, which are what is returned by the interface efl_part(). Those objects can't be of an opaque type as this doesn't work nicely with strongly typed languages such as C++ or C#. In JS, Lua, C the types are weak and mostly runtime-based so it doesn't matter much. As a consequence, the documentation and the types need to look nice in this EO API. Thus, we remove the abusive term "internal" and explicitly call all those classes "part" something. Eventually we want the types to be declared in the EO file so bindings (C#, C++, ...) can generate the proper access methods, returning the best possible types. Note that right now a few of those part types are used in the legacy API but don't actually need to be exposed externally. This is kind of a mega commit that does all the renaming at once, but it's really just a big sed operation. The power of good IDEs :) Ref https://phab.enlightenment.org/T5315 Ref https://phab.enlightenment.org/T5306
Diffstat (limited to 'src/lib/elementary/efl_ui_textpath.c')
-rw-r--r--src/lib/elementary/efl_ui_textpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c
index c5ff22a5e0..5eb5ac0ee2 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -8,7 +8,7 @@
#include "elm_priv.h"
#include "elm_widget_layout.h"
-#include "efl_ui_textpath_internal_part.eo.h"
+#include "efl_ui_textpath_part.eo.h"
#include "elm_part_helper.h"
@@ -660,7 +660,7 @@ _efl_ui_textpath_ellipsis_get(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd)
ELM_PART_OVERRIDE(efl_ui_textpath, EFL_UI_TEXTPATH, EFL_UI_LAYOUT, Efl_Ui_Textpath_Data, Elm_Part_Data)
ELM_PART_OVERRIDE_TEXT_SET(efl_ui_textpath, EFL_UI_TEXTPATH, EFL_UI_LAYOUT, Efl_Ui_Textpath_Data, Elm_Part_Data)
ELM_PART_OVERRIDE_TEXT_GET(efl_ui_textpath, EFL_UI_TEXTPATH, EFL_UI_LAYOUT, Efl_Ui_Textpath_Data, Elm_Part_Data)
-#include "efl_ui_textpath_internal_part.eo.c"
+#include "efl_ui_textpath_part.eo.c"
/* Efl.Part end */
#define EFL_UI_TEXTPATH_EXTRA_OPS \