aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-month-item.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-09-28 04:56:29 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-09-28 04:56:29 +0800
commit241a65b72b3620f85bad00fac28d268e5f47d2d6 (patch)
tree94f749268b21a9ae37a71ff2ad2cb91cc23e311a /calendar/gui/gnome-month-item.c
parent9d0b58bb8eb5a2180c6d38d7e45c9396331dc725 (diff)
downloadgsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.gz
gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.zst
gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.zip
Small fix -miguel
svn path=/trunk/; revision=1265
Diffstat (limited to 'calendar/gui/gnome-month-item.c')
-rw-r--r--calendar/gui/gnome-month-item.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/gnome-month-item.c b/calendar/gui/gnome-month-item.c
index 4b8a9d75ac..58e393e4ee 100644
--- a/calendar/gui/gnome-month-item.c
+++ b/calendar/gui/gnome-month-item.c
@@ -749,15 +749,15 @@ static void
gnome_month_item_init (GnomeMonthItem *mitem)
{
time_t t;
- struct tm *tm;
+ struct tm tm;
/* Initialize to the current month by default */
t = time (NULL);
- tm = localtime (&t);
+ tm = *localtime (&t);
- mitem->year = tm->tm_year + 1900;
- mitem->month = tm->tm_mon;
+ mitem->year = tm.tm_year + 1900;
+ mitem->month = tm.tm_mon;
mitem->x = 0.0;
mitem->y = 0.0;
* Remove ${PYDISTUTILS} from BUILD_DEPENDS. That was the only consumer of this.rm2012-09-132-10/+4 * - update png to 1.5.10dinoex2012-06-011-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-1/+1 * -remove MD5ohauer2011-07-031-1/+0 * Unbreak after r1.651 of bsd.port.mk.kwm2010-11-031-6/+21 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * re-assign back to ports@pgollucci2010-04-051-1/+1 * - update to 1.4.1dinoex2010-03-281-0/+1 * - Flip MAKE_JOBS_SAFE -> UNSAFEpav2010-03-181-1/+1 * - Update to 0.5.11 [1]pgollucci2010-01-1111-217/+384 * - Mark most of my ports MAKE_JOBS_SAFE=yespgollucci2009-05-161-0/+2 * - devel/libslang2 has completely replaced devel/libslang which has not beenpgollucci2009-02-081-2/+2 * - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MA...pav2008-07-251-1/+1 * Update my ports to my freebsd addresspgollucci2008-07-231-1/+1 * Fix after the last commit (undo change to use libslang2). The UI doesn'tsobomax2008-06-271-2/+2 * - From now on use libslang2 instead of libslang.araujo2008-06-201-2/+2 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - S/INSTALLS_SHLIB/USE_LDCONFIGmiwi2007-12-151-2/+2