if (!sd_parent) orient_mode = 0;
else orient_mode = sd_parent->orient_mode;
}
- eo_do(obj, elm_wdg_orientation_set(orient_mode, NULL));
+ eo_do(obj, elm_wdg_orientation_set(orient_mode));
}
EAPI Eina_Bool
ELM_WIDGET_CHECK(obj);
ELM_WIDGET_DATA_GET(obj, sd);
if ((sd->orient_mode == rotation) || (sd->orient_mode == -1)) return;
- eo_do((Eo *) obj, elm_wdg_orientation_set(rotation, NULL));
+ eo_do((Eo *) obj, elm_wdg_orientation_set(rotation));
}
static void
Evas_Object *child;
Eina_List *l;
int orient_mode = va_arg(*list, int);
- Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Elm_Widget_Smart_Data *sd = _pd;
sd->orient_mode = orient_mode;
snprintf(buf, sizeof(buf), "elm,state,orient,%d", orient_mode);
eo_do(obj, elm_wdg_signal_emit(buf, "elm"));
}
-
- if (ret) *ret = EINA_TRUE;
}
static void
* No description supplied by the EAPI.
*
* @param[in] rotation
- * @param[out] ret
*
*/
-#define elm_wdg_orientation_set(rotation, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_SET), EO_TYPECHECK(int, rotation), EO_TYPECHECK(Eina_Bool *, ret)
+#define elm_wdg_orientation_set(rotation) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_SET), EO_TYPECHECK(int, rotation)
/**
* @def elm_wdg_orientation_mode_disabled_set