Fix warnings

SVN revision: 23029
This commit is contained in:
sebastid 2006-05-31 18:41:37 +00:00 committed by sebastid
parent 7cafc0a578
commit 1487a2d788
1 changed files with 2 additions and 2 deletions

View File

@ -93,13 +93,13 @@ EAPI const char *
e_icon_file_get(Evas_Object *obj)
{
E_Smart_Data *sd;
char *file;
const char *file;
sd = evas_object_smart_data_get(obj);
if (!sd) return NULL;
if (!strcmp(evas_object_type_get(sd->obj), "edje"))
{
edje_object_file_get(sd->obj, (const char **)&file, NULL);
edje_object_file_get(sd->obj, &file, NULL);
return file;
}
evas_object_image_file_get(sd->obj, &file, NULL);