diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-04-15 14:37:34 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-15 14:37:34 +0800 |
commit | ca50d9fad97731aefa9bca4075ba6f655c6e742e (patch) | |
tree | 3016f224fe4f7adbc2552273e1e95c4014b546c2 /calendar/gui/year-view.c | |
parent | 32c476890163a5489b655b56a26c79f451135a2c (diff) | |
download | gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar.gz gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar.bz2 gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar.lz gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar.xz gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.tar.zst gsoc2013-evolution-ca50d9fad97731aefa9bca4075ba6f655c6e742e.zip |
Routine to destory rows array properly.
1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gncal-full-day.c (layout_kill_rows): Routine to destory rows
array properly.
* gncal-year-view.c (gncal_year_view_new): Add missing year in
call to strftime.
* calobj.c (ical_object_create_from_vobject): Fixed memory leaks
from the return values of versit's fakeCString.
svn path=/trunk/; revision=136
Diffstat (limited to 'calendar/gui/year-view.c')
-rw-r--r-- | calendar/gui/year-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/year-view.c b/calendar/gui/year-view.c index d4c2d218df..a3ae3ce647 100644 --- a/calendar/gui/year-view.c +++ b/calendar/gui/year-view.c @@ -101,7 +101,8 @@ gncal_year_view_new (int year) (gpointer *) yview); my_tm.tm_mon = i; - strftime(monthbuff, 40, "%B", &my_tm); + my_tm.tm_year = year; + strftime(monthbuff, sizeof (monthbuff)-1, "%B", &my_tm); label = gtk_label_new(monthbuff); gtk_container_add(GTK_CONTAINER(frame), vbox); |