const char for file.

SVN revision: 27925
devs/princeamd/enlightenment-0.17-elive
Sebastian Dransfeld 16 years ago
parent 058f897f3b
commit 7de0bc630a
  1. 2
      src/bin/e_widget_image.c
  2. 2
      src/bin/e_widget_image.h

@ -39,7 +39,7 @@ e_widget_image_add_from_object(Evas *evas, Evas_Object *object, int minw, int mi
}
EAPI Evas_Object *
e_widget_image_add_from_file(Evas *evas, char *file, int minw, int minh)
e_widget_image_add_from_file(Evas *evas, const char *file, int minw, int minh)
{
Evas_Object *obj, *o, *o2;
E_Widget_Data *wd;

@ -7,7 +7,7 @@
#define E_WIDGET_IMAGE_H
EAPI Evas_Object *e_widget_image_add_from_object(Evas *evas, Evas_Object *object, int minw, int minh);
EAPI Evas_Object *e_widget_image_add_from_file(Evas *evas, char *file, int minw, int minh);
EAPI Evas_Object *e_widget_image_add_from_file(Evas *evas, const char *file, int minw, int minh);
EAPI void e_widget_image_edje_set(Evas_Object *obj, char *file, char *part);
EAPI void e_widget_image_file_set(Evas_Object *obj, char *file);
EAPI void e_widget_image_file_key_set(Evas_Object *obj, char *file, char *key);

Loading…
Cancel
Save