summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-01-05 21:23:53 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-01-05 21:23:53 +0000
commiteb2fdbb1769a90f34a916e4a912b648d067b5f7d (patch)
tree83153e6c91929ccff0deb4d2cc459e63803b4711 /gtk/gtkcalendar.c
parent1299c1df6fc2f5a397176a2edb2c224380c339cb (diff)
downloadgtk+-eb2fdbb1769a90f34a916e4a912b648d067b5f7d.tar.gz
Adopt to new prototypes for unicode,locale,filename conversion functions.
Fri Jan 5 16:16:29 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkcalender.c,gtkfilesel.c,gtkimcontext.c}, modules/input/gtkimcontextxim.c: Adopt to new prototypes for unicode,locale,filename conversion functions.
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 499ff582dd..d9ae77af12 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -438,7 +438,7 @@ gtk_calendar_init (GtkCalendar *calendar)
{
tmp_time= (i+3)*86400;
strftime ( buffer, sizeof (buffer), "%a", gmtime (&tmp_time));
- default_abbreviated_dayname[i] = g_locale_to_utf8 (buffer, NULL);
+ default_abbreviated_dayname[i] = g_locale_to_utf8 (buffer, -1, NULL, NULL, NULL);
}
if (!default_monthname[0])
@@ -446,7 +446,7 @@ gtk_calendar_init (GtkCalendar *calendar)
{
tmp_time=i*2764800;
strftime ( buffer, sizeof (buffer), "%B", gmtime (&tmp_time));
- default_monthname[i] = g_locale_to_utf8 (buffer, NULL);
+ default_monthname[i] = g_locale_to_utf8 (buffer, -1, NULL, NULL, NULL);
}
/* Set defaults */