Add const to e_widget_slider fmt.

SVN revision: 33693
devs/princeamd/enlightenment-0.17-elive
Gustavo Sverzut Barbieri 15 years ago
parent 28f94c2d0d
commit 6856f48592
  1. 2
      src/bin/e_widget_slider.c
  2. 2
      src/bin/e_widget_slider.h

@ -19,7 +19,7 @@ static void _e_wid_disable_hook(Evas_Object *obj);
/* externally accessible functions */
EAPI Evas_Object *
e_widget_slider_add(Evas *evas, int horiz, int rev, char *fmt, double min, double max, double step, int count, double *dval, int *ival, Evas_Coord size)
e_widget_slider_add(Evas *evas, int horiz, int rev, const char *fmt, double min, double max, double step, int count, double *dval, int *ival, Evas_Coord size)
{
Evas_Object *obj, *o;
E_Widget_Data *wd;

@ -6,7 +6,7 @@
#ifndef E_WIDGET_SLIDER_H
#define E_WIDGET_SLIDER_H
EAPI Evas_Object *e_widget_slider_add(Evas *evas, int horiz, int rev, char *fmt, double min, double max, double step, int count, double *dval, int *ival, Evas_Coord size);
EAPI Evas_Object *e_widget_slider_add(Evas *evas, int horiz, int rev, const char *fmt, double min, double max, double step, int count, double *dval, int *ival, Evas_Coord size);
EAPI int e_widget_slider_value_double_set(Evas_Object *slider, double dval);
EAPI int e_widget_slider_value_int_set(Evas_Object *slider, int ival);
EAPI int e_widget_slider_value_double_get(Evas_Object *slider, double *dval);

Loading…
Cancel
Save