calendar: Adjusted to Eo2.
authorTom Hacohen <tom@stosb.com>
Thu, 3 Apr 2014 13:49:09 +0000 (14:49 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 08:34:59 +0000 (09:34 +0100)
legacy/elementary/src/lib/elm_calendar.c

index b22cc94..41faa59 100644 (file)
@@ -565,7 +565,7 @@ _elm_calendar_elm_widget_theme_apply(Eo *obj, Elm_Calendar_Data *_pd 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;
 
    evas_object_smart_changed(obj);
@@ -1184,7 +1184,7 @@ _elm_calendar_eo_base_constructor(Eo *obj, Elm_Calendar_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));
 }
 
 EOLIAN static void