widget: Reduce WRN to DBG for on_focus_region message
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 13:00:19 +0000 (22:00 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 13:00:19 +0000 (22:00 +0900)
Many widgets don't implement this function, and this case is
perfectly well handled by the caller. No need to WRN here.

src/lib/elementary/elm_widget.c

index a070c4c..9243bee 100644 (file)
@@ -222,7 +222,7 @@ _elm_widget_mirrored_reload(Evas_Object *obj)
 EOLIAN static Eina_Bool
 _elm_widget_on_focus_region(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Coord *x EINA_UNUSED, Evas_Coord *y EINA_UNUSED, Evas_Coord *w EINA_UNUSED, Evas_Coord *h EINA_UNUSED)
 {
-   WRN("The %s widget does not implement the \"on_focus_region\" function.",
+   DBG("The %s widget does not implement the \"on_focus_region\" function.",
        efl_class_name_get(efl_class_get(obj)));
 
    return EINA_FALSE;