Add const to e_widget_image file and part.

SVN revision: 33691
devs/princeamd/enlightenment-0.17-elive
Gustavo Sverzut Barbieri 15 years ago
parent b09b8061bf
commit 5de1c63e87
  1. 6
      src/bin/e_widget_image.c
  2. 6
      src/bin/e_widget_image.h

@ -73,7 +73,7 @@ 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)
e_widget_image_edje_set(Evas_Object *obj, const char *file, const char *part)
{
E_Widget_Data *wd;
@ -83,7 +83,7 @@ e_widget_image_edje_set(Evas_Object *obj, char *file, char *part)
}
EAPI void
e_widget_image_file_set(Evas_Object *obj, char *file)
e_widget_image_file_set(Evas_Object *obj, const char *file)
{
E_Widget_Data *wd;
@ -93,7 +93,7 @@ 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)
e_widget_image_file_key_set(Evas_Object *obj, const char *file, const char *key)
{
E_Widget_Data *wd;

@ -8,9 +8,9 @@
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, 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);
EAPI void e_widget_image_edje_set(Evas_Object *obj, const char *file, const char *part);
EAPI void e_widget_image_file_set(Evas_Object *obj, const char *file);
EAPI void e_widget_image_file_key_set(Evas_Object *obj, const char *file, const char *key);
EAPI void e_widget_image_object_set(Evas_Object *obj, Evas_Object *o);
#endif

Loading…
Cancel
Save