Fix return null in func returning void...oopsie ;)

SVN revision: 53008
This commit is contained in:
Christopher Michael 2010-10-04 06:21:38 +00:00
parent aef7e3d35a
commit 688b6e2fac
1 changed files with 4 additions and 4 deletions

View File

@ -797,9 +797,9 @@ elm_box_children_get(const Evas_Object *obj)
EAPI void
elm_box_padding_set(const Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
if (!wd) return;
evas_object_box_padding_set(wd->box, horizontal, vertical);
}
@ -815,8 +815,8 @@ elm_box_padding_set(const Evas_Object *obj, Evas_Coord horizontal, Evas_Coord ve
EAPI void
elm_box_align_set(const Evas_Object *obj, double horizontal, double vertical)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
if (!wd) return;
evas_object_box_align_set(wd->box, horizontal, vertical);
}