Re: libegg/recentchooser
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: libegg/recentchooser
- Date: Thu, 01 Dec 2005 09:01:22 +0100
Hi Morten,
On Wed, 2005-11-30 at 19:58 -0500, Morten Welinder wrote:
> > Uhm, I'll put that code under #idef G_OS_UNIX/#endif guards for the time
> > being, but the getenv("TZ")/setenv("TZ") timezone trick should work on
> > any sufficiently recent POSIX-like system; users of other operating
> > systems might just drop me an email.
>
> setenv isn't POSIX. You can probably just use g_setenv although
> that will leak.
>
> But really, just do it as
>
> ((days_since_19700101 * 24 + h) * 60 + m) * 60 + s
>
> where days_since_19700101 comes out of GDate.
I've already updated the timestamp_from_iso8601 function using libsoup's
equivalent code, after James pointed that out.
The fixes are in libegg HEAD (libegg/bookmarkfile).
Thanks,
Emmanuele.
--
Emmanuele Bassi - <ebassi gmail com>
Log: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]