ryuan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=73f7ec95bcc069fb38479983dd8d5722e0fffc90

commit 73f7ec95bcc069fb38479983dd8d5722e0fffc90
Author: Ryuan Choi <ryuan.c...@gmail.com>
Date:   Thu Oct 17 16:31:06 2013 +0900

    elm_calendar: Reorder few members of _Elm_Calendar_Smart_Data to reduce size
    
    After reordered, sizeof(Elm_Calendar_Smart_Data) is little bit reduced
    from 560 to 544 on 64bit system.
---
 src/lib/elm_widget_calendar.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/elm_widget_calendar.h b/src/lib/elm_widget_calendar.h
index 8925c3b..f98e96f 100644
--- a/src/lib/elm_widget_calendar.h
+++ b/src/lib/elm_widget_calendar.h
@@ -33,21 +33,23 @@ struct _Elm_Calendar_Smart_Data
    double                   interval, first_interval;
    int                      year_min, year_max, spin_speed;
    int                      today_it, selected_it, first_day_it;
-   Elm_Calendar_Weekday     first_week_day;
    Ecore_Timer             *spin_month, *spin_year, *update_timer;
    Elm_Calendar_Format_Cb   format_func;
    const char              *weekdays[ELM_DAY_LAST];
    struct tm                current_time, selected_time, shown_time;
    Day_Color                day_color[42]; // EINA_DEPRECATED
-   Elm_Calendar_Select_Mode select_mode;
    Evas_Object             *inc_btn_month_access;
    Evas_Object             *dec_btn_month_access;
    Evas_Object             *month_access;
    Evas_Object             *inc_btn_year_access;
    Evas_Object             *dec_btn_year_access;
    Evas_Object             *year_access;
-   Eina_Bool                selected : 1;
+
+   Elm_Calendar_Weekday     first_week_day;
+   Elm_Calendar_Select_Mode select_mode;
    Elm_Calendar_Selectable  selectable;
+
+   Eina_Bool                selected : 1;
    Eina_Bool                double_spinners : 1;
 };
 

-- 


Reply via email to