* ephoto: properly remove Ecore_Data.

SVN revision: 47494
This commit is contained in:
Cedric BAIL 2010-03-26 16:09:24 +00:00
parent 1f3b3ee1a1
commit c3a1174a41
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@
#endif
#include <Ecore.h>
#include <Ecore_Data.h>
#include <Ecore_Evas.h>
#include <Ecore_File.h>
#include <Ecore_Getopt.h>

View File

@ -44,7 +44,7 @@ void ephoto_image_file_set(Evas_Object *obj, const char *file, int w, int h)
sd = evas_object_smart_data_get(obj);
evas_object_image_load_size_set(sd->image, w, h);
evas_object_image_file_set(sd->image, file, NULL);
evas_object_image_preload(sd->image, TRUE);
evas_object_image_preload(sd->image, EINA_TRUE);
ephoto_image_smart_reconfigure(sd);
}
@ -146,7 +146,7 @@ ephoto_image_smart_add(Evas_Object *obj)
return;
sd->image = evas_object_image_add(em->e);
evas_object_image_smooth_scale_set(sd->image, TRUE);
evas_object_image_smooth_scale_set(sd->image, EINA_TRUE);
sd->x = 0;
sd->y = 0;
sd->w = 0;