* remove shadow declarations

* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
This commit is contained in:
Vincent Torri 2010-04-21 07:46:03 +00:00
parent 291c607e15
commit 86d5c41583
5 changed files with 15 additions and 11 deletions

View File

@ -1458,6 +1458,7 @@ _smart_init(void)
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL,
NULL NULL
}; };
_e_smart = evas_smart_class_new(&sc); _e_smart = evas_smart_class_new(&sc);

View File

@ -395,13 +395,13 @@ _elm_win_client_message(void *data, int type __UNUSED__, void *event)
{ {
if (e->data.l[0] == win->xwin) if (e->data.l[0] == win->xwin)
{ {
Evas *e = evas_object_evas_get(win->win_obj); Evas *evas = evas_object_evas_get(win->win_obj);
if (e) if (evas)
{ {
edje_file_cache_flush(); edje_file_cache_flush();
edje_collection_cache_flush(); edje_collection_cache_flush();
evas_image_cache_flush(e); evas_image_cache_flush(evas);
evas_font_cache_flush(e); evas_font_cache_flush(evas);
} }
} }
} }
@ -409,14 +409,14 @@ _elm_win_client_message(void *data, int type __UNUSED__, void *event)
{ {
if (e->data.l[0] == win->xwin) if (e->data.l[0] == win->xwin)
{ {
Evas *e = evas_object_evas_get(win->win_obj); Evas *evas = evas_object_evas_get(win->win_obj);
if (e) if (evas)
{ {
edje_file_cache_flush(); edje_file_cache_flush();
edje_collection_cache_flush(); edje_collection_cache_flush();
evas_image_cache_flush(e); evas_image_cache_flush(evas);
evas_font_cache_flush(e); evas_font_cache_flush(evas);
evas_render_dump(e); evas_render_dump(evas);
} }
} }
} }

View File

@ -351,6 +351,7 @@ _smart_init(void)
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL,
NULL NULL
}; };
_e_smart = evas_smart_class_new(&sc); _e_smart = evas_smart_class_new(&sc);

View File

@ -266,6 +266,7 @@ _smart_init(void)
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL,
NULL NULL
}; };
_smart = evas_smart_class_new(&sc); _smart = evas_smart_class_new(&sc);

View File

@ -2162,6 +2162,7 @@ _smart_init(void)
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL,
NULL NULL
}; };
_smart = evas_smart_class_new(&sc); _smart = evas_smart_class_new(&sc);