From f021a858ad937ecf4775b1a4a575081ce240d85a Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 19 Apr 2016 16:23:39 +0100 Subject: [PATCH] Elm atspi text: Fix eo type errors. --- src/lib/elementary/elm_interface_atspi_text.eo | 16 +++++++++------- src/lib/eo/eina_types.eot | 2 ++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/lib/elementary/elm_interface_atspi_text.eo b/src/lib/elementary/elm_interface_atspi_text.eo index 249664d2a2..f058273311 100644 --- a/src/lib/elementary/elm_interface_atspi_text.eo +++ b/src/lib/elementary/elm_interface_atspi_text.eo @@ -1,3 +1,5 @@ +import eina_types; + enum Elm.Atspi_Text.Granularity { char, @@ -32,9 +34,9 @@ struct Elm.Atspi_Text.Range struct Elm.Atspi_Text.Change_Info { content: const(char)*; - inserted: Eina.Bool; - pos: size_t; - len: size_t; + inserted: bool; + pos: size; + len: size; } interface Elm.Interface_Atspi_Text () @@ -50,7 +52,7 @@ interface Elm.Interface_Atspi_Text () offset: int; [[Position in text.]] } values { - character: Eina_Unicode; [[Character at offset. 0 when out-of bounds offset has been given. Codepoints between DC80 and DCFF indicates that string includes invalid UTF8 chars.]] + character: Eina.Unicode; [[Character at offset. 0 when out-of bounds offset has been given. Codepoints between DC80 and DCFF indicates that string includes invalid UTF8 chars.]] } } @property string @protected { @@ -131,7 +133,7 @@ interface Elm.Interface_Atspi_Text () screen_coords: bool; } values { - rect: Eina_Rectangle; + rect: Eina.Rectangle; } } @property character_count @protected { @@ -158,7 +160,7 @@ interface Elm.Interface_Atspi_Text () } keys { screen_coords: bool; - rect: Eina_Rectangle; + rect: Eina.Rectangle; xclip: Elm.Atspi_Text.Clip_Type; yclip: Elm.Atspi_Text.Clip_Type; } @@ -176,7 +178,7 @@ interface Elm.Interface_Atspi_Text () end_offset: int; } values { - rect: Eina_Rectangle; + rect: Eina.Rectangle; } } @property selections_count @protected { diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot index dfea229dad..f25b727f06 100644 --- a/src/lib/eo/eina_types.eot +++ b/src/lib/eo/eina_types.eot @@ -23,3 +23,5 @@ struct @extern Eina.Matrix3 { } struct @extern Eina.Inarray; + +type @extern Eina.Unicode: uint32;