plug: Adjusted to Eo2.
authorTom Hacohen <tom@stosb.com>
Thu, 3 Apr 2014 15:41:59 +0000 (16:41 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 08:35:01 +0000 (09:35 +0100)
src/lib/elm_plug.c

index ef44f3f..4ffe1b0 100644 (file)
@@ -63,7 +63,7 @@ _elm_plug_elm_widget_on_focus(Eo *obj, void *sd EINA_UNUSED)
 
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
 
-   eo_do_super(obj, MY_CLASS, elm_obj_widget_on_focus(&int_ret));
+   eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_on_focus());
    if (!int_ret) return EINA_FALSE;
 
    if (elm_widget_focus_get(obj))
@@ -82,7 +82,7 @@ EOLIAN static Eina_Bool
 _elm_plug_elm_widget_theme_apply(Eo *obj, void *sd EINA_UNUSED)
 {
    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;
 
    _sizing_eval(obj);
@@ -145,7 +145,7 @@ _elm_plug_eo_base_constructor(Eo *obj, void *sd EINA_UNUSED)
    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));
 }
 
 EOLIAN static Evas_Object*