ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ed7b41ce5351e6b913a5150bc6023e9cc2bc5afb
commit ed7b41ce5351e6b913a5150bc6023e9cc2bc5afb Author: Andy Williams <[email protected]> Date: Mon Dec 29 16:54:50 2014 +0000 Make it clear in documentation that these methods are not implemented. Even so return a more meaningful value - 0 is not a member of the Enum it returns. --- src/lib/evas/canvas/evas_object_textgrid.c | 2 +- src/lib/evas/canvas/evas_textgrid.eo | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c index 6735e11..0cad494 100644 --- a/src/lib/evas/canvas/evas_object_textgrid.c +++ b/src/lib/evas/canvas/evas_object_textgrid.c @@ -1429,7 +1429,7 @@ EOLIAN static Evas_Textgrid_Font_Style _evas_textgrid_supported_font_styles_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o EINA_UNUSED) { /* FIXME: to do */ - return 0; + return EVAS_TEXTGRID_FONT_STYLE_NORMAL; } EOLIAN static void diff --git a/src/lib/evas/canvas/evas_textgrid.eo b/src/lib/evas/canvas/evas_textgrid.eo index 1c9c677..f910db6 100644 --- a/src/lib/evas/canvas/evas_textgrid.eo +++ b/src/lib/evas/canvas/evas_textgrid.eo @@ -5,10 +5,13 @@ class Evas.Textgrid (Evas.Object, Efl.Text_Properties) properties { supported_font_styles { set { - /*@ No description supplied by the EAPI. */ + /*@ + This function is not implemented yet, do not use. */ } get { - /*@ No description supplied by the EAPI. */ + /*@ + This function is not implemented yet, do not use. + @return EVAS_TEXTGRID_FONT_STYLE_NORMAL */ } values { Evas_Textgrid_Font_Style styles; --
