diff options
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/efl_access_action.eo | 2 | ||||
-rw-r--r-- | src/lib/elementary/elm_entry.eo | 2 | ||||
-rw-r--r-- | src/lib/elementary/elm_interface_atspi_text.eo | 6 | ||||
-rw-r--r-- | src/lib/elementary/elm_web.eo | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/elementary/efl_access_action.eo b/src/lib/elementary/efl_access_action.eo index 577464cc93..931ecf2fd6 100644 --- a/src/lib/elementary/efl_access_action.eo +++ b/src/lib/elementary/efl_access_action.eo | |||
@@ -59,7 +59,7 @@ mixin Efl.Access.Action () | |||
59 | params { | 59 | params { |
60 | @in id: int; [[ID for widget]] | 60 | @in id: int; [[ID for widget]] |
61 | } | 61 | } |
62 | return: string @owned @warn_unused; [[Should be freed by the user.]] | 62 | return: mstring @owned @warn_unused; [[Should be freed by the user.]] |
63 | } | 63 | } |
64 | } | 64 | } |
65 | } | 65 | } |
diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo index 11f2af6be9..a76fda2356 100644 --- a/src/lib/elementary/elm_entry.eo +++ b/src/lib/elementary/elm_entry.eo | |||
@@ -632,7 +632,7 @@ class Elm.Entry (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable, | |||
632 | Only the text is returned, any format that may exist will not be part | 632 | Only the text is returned, any format that may exist will not be part |
633 | of the return value. You must free the string when done with \@ref free. | 633 | of the return value. You must free the string when done with \@ref free. |
634 | ]] | 634 | ]] |
635 | return: string @owned @warn_unused; [[Character]] | 635 | return: mstring @owned @warn_unused; [[Character]] |
636 | } | 636 | } |
637 | } | 637 | } |
638 | @property selection { | 638 | @property selection { |
diff --git a/src/lib/elementary/elm_interface_atspi_text.eo b/src/lib/elementary/elm_interface_atspi_text.eo index 8485d0885a..3cd2ddcaaa 100644 --- a/src/lib/elementary/elm_interface_atspi_text.eo +++ b/src/lib/elementary/elm_interface_atspi_text.eo | |||
@@ -70,7 +70,7 @@ interface Elm.Interface.Atspi.Text () | |||
70 | end_offset: ptr(int); [[Offset indicating end of string according to given granularity. -1 in case of error.]] | 70 | end_offset: ptr(int); [[Offset indicating end of string according to given granularity. -1 in case of error.]] |
71 | } | 71 | } |
72 | values { | 72 | values { |
73 | string: string @owned; [[Newly allocated UTF-8 encoded string. Must be free by a user.]] | 73 | string: mstring @owned; [[Newly allocated UTF-8 encoded string. Must be free by a user.]] |
74 | } | 74 | } |
75 | } | 75 | } |
76 | @property text @protected { | 76 | @property text @protected { |
@@ -82,7 +82,7 @@ interface Elm.Interface.Atspi.Text () | |||
82 | end_offset: int; [[End offset of text.]] | 82 | end_offset: int; [[End offset of text.]] |
83 | } | 83 | } |
84 | values { | 84 | values { |
85 | text: string @owned; [[UTF-8 encoded text.]] | 85 | text: mstring @owned; [[UTF-8 encoded text.]] |
86 | } | 86 | } |
87 | } | 87 | } |
88 | @property caret_offset @protected { | 88 | @property caret_offset @protected { |
@@ -108,7 +108,7 @@ interface Elm.Interface.Atspi.Text () | |||
108 | end_offset: ptr(int); [[Position in text to which given attribute is set.]] | 108 | end_offset: ptr(int); [[Position in text to which given attribute is set.]] |
109 | } | 109 | } |
110 | values { | 110 | values { |
111 | value: string @owned; [[Value of text attribute. Should be free()]] | 111 | value: mstring @owned; [[Value of text attribute. Should be free()]] |
112 | } | 112 | } |
113 | } | 113 | } |
114 | @property attributes @protected { | 114 | @property attributes @protected { |
diff --git a/src/lib/elementary/elm_web.eo b/src/lib/elementary/elm_web.eo index f1c8e986ec..db349fd100 100644 --- a/src/lib/elementary/elm_web.eo +++ b/src/lib/elementary/elm_web.eo | |||
@@ -339,8 +339,8 @@ class Elm.Web (Elm.Widget) | |||
339 | The string returned must be freed by the user when it's done | 339 | The string returned must be freed by the user when it's done |
340 | with it. | 340 | with it. |
341 | ]] | 341 | ]] |
342 | /* FIXME: const doesn't belong here */ | 342 | /* FIXME: owned const string? */ |
343 | return: const(string) @owned @warn_unused; [[A newly allocated string, or | 343 | return: string @owned @warn_unused; [[A newly allocated string, or |
344 | $null if nothing is selected | 344 | $null if nothing is selected |
345 | or an error occurred.]] | 345 | or an error occurred.]] |
346 | } | 346 | } |