From 1d39c2d175e24b3b89a3d29305eb1f0e7443c6a4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 23 Aug 2017 20:12:47 +0900 Subject: [PATCH] widget: Remove highlight_ignore from EO --- src/lib/elementary/elm_widget.c | 16 ++++++++++++---- src/lib/elementary/elm_widget.eo | 6 ------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index d1ede03..b4e5a48 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c @@ -1850,15 +1850,23 @@ elm_widget_can_focus_child_list_get(const Eo *obj) return child_list; } -EOLIAN static void -_elm_widget_highlight_ignore_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Eina_Bool ignore) +/** @internal */ +EAPI void +elm_widget_highlight_ignore_set(Eo *obj, Eina_Bool ignore) { + Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS); + if (!sd) return; + sd->highlight_ignore = !!ignore; } -EOLIAN static Eina_Bool -_elm_widget_highlight_ignore_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +/** @internal */ +EAPI Eina_Bool +elm_widget_highlight_ignore_get(const Eo *obj) { + Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS); + if (!sd) return EINA_FALSE; + return sd->highlight_ignore; } diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo index 209fe2d..958b7e2 100644 --- a/src/lib/elementary/elm_widget.eo +++ b/src/lib/elementary/elm_widget.eo @@ -223,12 +223,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible, th: ptr(Elm.Theme) @nullable; [[Elementary theme]] } } - @property highlight_ignore { - [[Highlight ignore]] - values { - ignore: bool; [[$true if highlights are ignored, $false otherwise]] - } - } @property theme_object @beta { [[Theme object property]] set { -- 2.7.4