Revert unnecessary differences with upstream
authorMike McCormack <mj.mccormack@samsung.com>
Wed, 23 Nov 2011 06:13:50 +0000 (15:13 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Wed, 23 Nov 2011 06:13:50 +0000 (15:13 +0900)
src/lib/elm_widget.h
src/lib/elm_win.c

index d0354d3..897bcd7 100644 (file)
@@ -462,7 +462,6 @@ EAPI void             _elm_widget_item_disabled_set(Elm_Widget_Item *item, Eina_
 EAPI Eina_Bool        _elm_widget_item_disabled_get(const Elm_Widget_Item *item);
 EAPI void             _elm_widget_item_disable_set_hook_set(Elm_Widget_Item *item, Elm_Widget_On_Disable_Set_Cb func);
 
-
 /* debug function. don't use it unless you are tracking parenting issues */
 EAPI void             elm_widget_tree_dump(const Evas_Object *top);
 EAPI void             elm_widget_tree_dot_dump(const Evas_Object *top, FILE *output);
@@ -766,7 +765,7 @@ typedef enum _Elm_Sel_Format
    /** Edje textblock markup, including inline images */
    ELM_SEL_FORMAT_MARKUP = 0x02,
    /** Images */
-   ELM_SEL_FORMAT_IMAGE         = 0x04,
+   ELM_SEL_FORMAT_IMAGE = 0x04,
    /** Vcards */
    ELM_SEL_FORMAT_VCARD =  0x08,
    /** Raw HTMLish things for widgets that want that stuff (hello webkit!) */
index 9a08013..3589095 100644 (file)
@@ -2157,7 +2157,7 @@ elm_win_focus_get(const Evas_Object *obj)
    Elm_Win *win;
    ELM_CHECK_WIDTYPE(obj, widtype);
    win = elm_widget_data_get(obj);
-   if (!win) return;
+   if (!win) return EINA_FALSE;
    return ecore_evas_focus_get(win->ee);
 }