conformant: Adjusted to Eo2.
authorTom Hacohen <tom@stosb.com>
Thu, 3 Apr 2014 13:55:57 +0000 (14:55 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 08:35:00 +0000 (09:35 +0100)
src/lib/elm_conform.c

index f20a2d0..9a7fb83 100644 (file)
@@ -591,7 +591,7 @@ _elm_conformant_elm_widget_theme_apply(Eo *obj, Elm_Conformant_Data *_pd EINA_UN
 {
    Eina_Bool int_ret = EINA_FALSE;
 
-   eo_do_super(obj, MY_CLASS, elm_obj_widget_theme_apply(&int_ret));
+   eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply());
    if (!int_ret) return EINA_FALSE;
 
    _conformant_parts_swallow(obj);
@@ -972,7 +972,7 @@ _elm_conformant_eo_base_constructor(Eo *obj, Elm_Conformant_Data *sd)
    eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),
-         evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
+         evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
 
    top = elm_widget_top_get(obj);
    _on_indicator_mode_changed(obj, top, NULL);