EAPI_MAIN int
elm_main(int argc, char **argv)
{
- Ecore_Timer *timer;
Evas_Object *win, *prefs, *notify, *label;
Elm_Prefs_Data *prefs_data;
evas_object_resize(win, 320, 320);
evas_object_show(win);
- timer = ecore_timer_add(5.0, _elm_prefs_data_change, notify);
+ ecore_timer_add(5.0, _elm_prefs_data_change, notify);
elm_run();
static void
_action_cb(void *data, Evas_Object *obj, void *event_info)
{
- Evas_Object *prefs, *notify = data;
+ Evas_Object *notify = data;
Elm_Prefs_Data *prefs_data;
Elm_Prefs_Item_Type type;
Eina_Value value;
- prefs = evas_object_data_get(notify, "prefs");
prefs_data = evas_object_data_get(notify, "prefs_data");
if (elm_prefs_data_value_get(prefs_data, "main:text", &type, &value))
EAPI_MAIN int
elm_main(int argc, char **argv)
{
- Ecore_Timer *timer;
Evas_Object *win, *prefs, *notify, *label;
Elm_Prefs_Data *prefs_data;
evas_object_resize(win, 320, 320);
evas_object_show(win);
- timer = ecore_timer_add(5.0, _elm_prefs_items_change, notify);
+ ecore_timer_add(5.0, _elm_prefs_items_change, notify);
elm_run();