forked from AuroraMiddleware/gtk
Call calendar_compute_days() after setting priv->week_start.
2005-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcalendar.c (gtk_calendar_init): Call calendar_compute_days() after setting priv->week_start.
This commit is contained in:
parent
1ab667fcbb
commit
3203940359
@ -1,3 +1,8 @@
|
||||
2005-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c (gtk_calendar_init): Call
|
||||
calendar_compute_days() after setting priv->week_start.
|
||||
|
||||
2005-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c (gtk_calendar_init): Call
|
||||
calendar_compute_days() after setting priv->week_start.
|
||||
|
||||
2005-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
|
||||
|
@ -598,8 +598,6 @@ gtk_calendar_init (GtkCalendar *calendar)
|
||||
calendar->month = tm->tm_mon;
|
||||
calendar->year = 1900 + tm->tm_year;
|
||||
|
||||
calendar_compute_days (calendar);
|
||||
|
||||
for (i=0;i<31;i++)
|
||||
calendar->marked_date[i] = FALSE;
|
||||
calendar->num_marked_dates = 0;
|
||||
@ -684,6 +682,8 @@ gtk_calendar_init (GtkCalendar *calendar)
|
||||
priv->week_start = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
calendar_compute_days (calendar);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user