use Elm_Clock_Digedit instead of unsigned int
authorVincent Torri <vincent.torri@gmail.com>
Sun, 6 Jun 2010 20:19:26 +0000 (20:19 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Sun, 6 Jun 2010 20:19:26 +0000 (20:19 +0000)
SVN revision: 49546

src/lib/Elementary.h.in
src/lib/elm_clock.c

index 7c3cd46..e3de655 100644 (file)
@@ -628,7 +628,7 @@ extern "C" {
    EAPI void         elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
    EAPI void         elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit);
    EAPI Eina_Bool    elm_clock_edit_get(const Evas_Object *obj);
-   EAPI void        elm_clock_digit_edit_set(Evas_Object *obj, unsigned int digedit);
+   EAPI void        elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit);
    EAPI unsigned int elm_clock_digit_edit_get(const Evas_Object *obj);
    EAPI void         elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
    EAPI Eina_Bool    elm_clock_show_am_pm_get(const Evas_Object *obj);
index 092f1a7..0816716 100644 (file)
@@ -17,7 +17,7 @@ struct _Widget_Data
    Eina_Bool seconds : 1;
    Eina_Bool am_pm : 1;
    Eina_Bool edit : 1;
-   unsigned int digedit;
+   Elm_Clock_Digedit digedit;
    int hrs, min, sec;
    Evas_Object *digit[6];
    Evas_Object *ampm;
@@ -29,7 +29,7 @@ struct _Widget_Data
         Eina_Bool seconds : 1;
         Eina_Bool am_pm : 1;
         Eina_Bool edit : 1;
-       unsigned int digedit;
+       Elm_Clock_Digedit digedit;
      } cur;
 };
 
@@ -558,7 +558,7 @@ elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit)
  *
  * @ingroup Clock
  */
-EAPI unsigned int
+EAPI Elm_Clock_Digedit
 elm_clock_digit_edit_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) 0;