[elm] Init code fix -- clock.

SVN revision: 74008
This commit is contained in:
Gustavo Lima Chaves 2012-07-17 18:44:23 +00:00
parent 3d00e9761d
commit 8e73de2016
1 changed files with 3 additions and 3 deletions

View File

@ -511,6 +511,9 @@ _elm_clock_smart_add(Evas_Object *obj)
priv->timediff = 0;
elm_widget_can_focus_set(obj, EINA_TRUE);
_time_update(obj);
_ticker(obj);
}
static void
@ -555,9 +558,6 @@ elm_clock_add(Evas_Object *parent)
if (!elm_widget_sub_object_add(parent, obj))
ERR("could not add %p as sub object of %p", obj, parent);
_time_update(obj);
_ticker(obj);
return obj;
}