summaryrefslogtreecommitdiff
blob: 08e85e1d366d910fc6c15fce8b7188e0620ed63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- gtk+-2.8.6/gtk/gtkcalendar.c.orig	2005-10-04 13:00:55.000000000 +0200
+++ gtk+-2.8.6/gtk/gtkcalendar.c	2005-10-04 13:01:49.000000000 +0200
@@ -565,10 +565,14 @@
   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,