forked from AuroraMiddleware/gtk
Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias
2005-10-04 Tor Lillqvist <tml@novell.com> * gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
This commit is contained in:
parent
d42232ec19
commit
de3cf6c83d
@ -1,3 +1,8 @@
|
||||
2005-10-04 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without
|
||||
HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
|
||||
|
||||
2005-10-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-10-04 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without
|
||||
HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
|
||||
|
||||
2005-10-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change
|
||||
|
@ -565,10 +565,14 @@ gtk_calendar_init (GtkCalendar *calendar)
|
||||
time_t tmp_time;
|
||||
GtkCalendarPrivate *priv;
|
||||
gchar *year_before;
|
||||
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
|
||||
gchar *langinfo;
|
||||
gint week_1stday = 0;
|
||||
gint first_weekday = 1;
|
||||
guint week_origin;
|
||||
#else
|
||||
gchar *week_start;
|
||||
#endif
|
||||
|
||||
priv = calendar->priv = G_TYPE_INSTANCE_GET_PRIVATE (calendar,
|
||||
GTK_TYPE_CALENDAR,
|
||||
|
Loading…
Reference in New Issue
Block a user