edje: fix return type for part_text_cursor_content_get
authorDaniel Hirt <daniel.hirt@samsung.com>
Thu, 30 Jun 2016 16:53:40 +0000 (16:53 +0000)
committerDaniel Hirt <daniel.hirt@samsung.com>
Thu, 30 Jun 2016 17:05:13 +0000 (17:05 +0000)
Another spot that should've stayed "char *" and not "string". Also added the
missing 'own'.
Found due to a warning after ee36fdc2183a3de9569cac5ae74c0fb30d3d76db.

src/lib/edje/edje_object.eo

index 1a2326e..3e3a9ed 100644 (file)
@@ -830,7 +830,7 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part)
 
            You must free the return (if not $null) after you are done with it.]]
 
-         return: string; [[The character string pointed to (may be a multi-byte utf8 sequence) terminated by a nul byte.]]
+         return: own(char *); [[The character string pointed to (may be a multi-byte utf8 sequence) terminated by a nul byte.]]
          params {
             @in part: string; [[The part name]]
             @in cur: Edje.Cursor; [[The cursor to use]]