Add const to frametable's label.

SVN revision: 33689
devs/princeamd/enlightenment-0.17-elive
Gustavo Sverzut Barbieri 15 years ago
parent 8e521eb303
commit 9f97352e84
  1. 4
      src/bin/e_widget_frametable.c
  2. 4
      src/bin/e_widget_frametable.h

@ -16,7 +16,7 @@ static void _e_wid_disable_hook(Evas_Object *obj);
/* externally accessible functions */
EAPI Evas_Object *
e_widget_frametable_add(Evas *evas, char *label, int homogenous)
e_widget_frametable_add(Evas *evas, const char *label, int homogenous)
{
Evas_Object *obj, *o;
E_Widget_Data *wd;
@ -87,7 +87,7 @@ e_widget_frametable_content_align_set(Evas_Object *obj, double halign, double va
}
EAPI void
e_widget_frametable_label_set(Evas_Object *obj, char *label)
e_widget_frametable_label_set(Evas_Object *obj, const char *label)
{
E_Widget_Data *wd;

@ -6,10 +6,10 @@
#ifndef E_WIDGET_FRAMETABLE_H
#define E_WIDGET_FRAMETABLE_H
EAPI Evas_Object *e_widget_frametable_add(Evas *evas, char *label, int homogenous);
EAPI Evas_Object *e_widget_frametable_add(Evas *evas, const char *label, int homogenous);
EAPI void e_widget_frametable_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h);
EAPI void e_widget_frametable_content_align_set(Evas_Object *obj, double halign, double valign);
EAPI void e_widget_frametable_label_set(Evas_Object *obj, char *label);
EAPI void e_widget_frametable_label_set(Evas_Object *obj, const char *label);
#endif
#endif

Loading…
Cancel
Save