jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=de6593798057f470650b00365972b1fcc88c5721

commit de6593798057f470650b00365972b1fcc88c5721
Author: Daniel Zaoui <[email protected]>
Date:   Thu Apr 24 14:17:47 2014 +0300

    TextBlock: fix porting to Eolian.
    
    evas_object_text_clear was no more defined in the headers. Since the
    function code is not generated by Eolian, the declaration in the headers
    has to be done manually too.
---
 src/lib/evas/Evas_Legacy.h            | 9 +++++++++
 src/lib/evas/canvas/evas_textblock.eo | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h
index deb0a61..f10fb07 100644
--- a/src/lib/evas/Evas_Legacy.h
+++ b/src/lib/evas/Evas_Legacy.h
@@ -1333,6 +1333,15 @@ EAPI char                                    
*evas_textblock_text_markup_to_utf8
  */
 EAPI char                                    
*evas_textblock_text_utf8_to_markup(const Evas_Object *obj, const char *text) 
EINA_WARN_UNUSED_RESULT EINA_MALLOC;
 
+/**
+ * Clear the textblock object.
+ * @note Does *NOT* free the Evas object itself.
+ *
+ * @param obj the object to clear.
+ * @return nothing.
+ */
+EAPI void                                     
evas_object_textblock_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
+
 #include "canvas/evas_textblock.eo.legacy.h"
 
 /**
diff --git a/src/lib/evas/canvas/evas_textblock.eo 
b/src/lib/evas/canvas/evas_textblock.eo
index 91c0b54..96abedf 100644
--- a/src/lib/evas/canvas/evas_textblock.eo
+++ b/src/lib/evas/canvas/evas_textblock.eo
@@ -284,7 +284,7 @@ class Evas_Textblock (Evas_Object)
 
          @return nothing. */
 
-         legacy evas_object_textblock_clear_all;
+         legacy null;
       }
       style_user_push {
          /*@

-- 


Reply via email to