raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=982cff996515c93405f5c5db5bfc054b01d7c740
commit 982cff996515c93405f5c5db5bfc054b01d7c740 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Apr 1 09:25:21 2014 +0900 elm widget - dont get focus if object is not an elm widget this islences lots of missing method complaints from eo (yes - we wantmixed elm + non elm widgets to work, thus this has to be handled) --- src/lib/elm_widget.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index aac52d4..b8fa685 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -23,9 +23,10 @@ ELM_WIDGET_DATA_GET(obj, sd); \ if (!sd) return -#define ELM_WIDGET_FOCUS_GET(obj) \ - ((_elm_access_auto_highlight_get()) ? (elm_widget_highlight_get(obj)) : \ - (elm_widget_focus_get(obj))) +#define ELM_WIDGET_FOCUS_GET(obj) \ + (eo_isa(obj, ELM_OBJ_WIDGET_CLASS) && \ + ((_elm_access_auto_highlight_get()) ? (elm_widget_highlight_get(obj)) : \ + (elm_widget_focus_get(obj)))) const char SIG_WIDGET_FOCUSED[] = "focused"; const char SIG_WIDGET_UNFOCUSED[] = "unfocused"; --