head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2009.03.19.12.02.09; author drochner; state dead; branches; next 1.1; 1.1 date 2009.01.25.16.58.47; author drochner; state Exp; branches; next ; desc @@ 1.2 log @update to 2.26.0 This switches to the gnome-2.26 release branch @ text @$NetBSD: patch-bb,v 1.1 2009/01/25 16:58:47 drochner Exp $ --- ./addressbook/backends/file/e-book-backend-file.c.orig 2008-12-22 10:49:13.000000000 +0100 +++ ./addressbook/backends/file/e-book-backend-file.c @@@@ -174,10 +174,10 @@@@ set_revision (EContact *contact) { char time_string[100] = {0}; const struct tm *tm = NULL; - GTimeVal tv; + time_t t; - g_get_current_time (&tv); - tm = gmtime (&tv.tv_sec); + t = time(0); + tm = gmtime (&t); if (tm) strftime (time_string, 100, "%Y-%m-%dT%H:%M:%SZ", tm); e_contact_set (contact, E_CONTACT_REV, time_string); @ 1.1 log @fix 2 cases where time_t==long is assumed @ text @d1 1 a1 1 $NetBSD$ @