]> Pileus Git - ~andy/gtk/commitdiff
Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias
authorTor Lillqvist <tml@novell.com>
Tue, 4 Oct 2005 13:42:27 +0000 (13:42 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 4 Oct 2005 13:42:27 +0000 (13:42 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkcalendar.c

index 6c75b2518172bc49cc1e04dde807931fdad7f2df..2127c095ee580cd44479039f314a00dda3996ca2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 6c75b2518172bc49cc1e04dde807931fdad7f2df..2127c095ee580cd44479039f314a00dda3996ca2 100644 (file)
@@ -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
index aaedee9f53b654942b72b8cf06db110095ce3821..d8daeaa574c27e8400e42669fc6ed0270212496d 100644 (file)
@@ -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,