[Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to g_get_current_time() first. At first, I tried this Vala code: string iso8601_date = 1999-05-31T11:20:00; TimeVal time_val; time_val.from_iso8601(iso8601_date);

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Jonas Kulla
2013/4/14 Alexander Krivács Schrøder alexsch...@gmail.com Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to g_get_current_time() first. At first, I tried this Vala code: string iso8601_date =

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
On 14.04.2013 21:31, Jonas Kulla wrote: 2013/4/14 Alexander Krivács Schrøder alexsch...@gmail.com mailto:alexsch...@gmail.com Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Evan Nemerson
On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote: Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to g_get_current_time() first. At first, I tried this Vala code: string iso8601_date =

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
On 14.04.2013 23:09, Evan Nemerson wrote: On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote: Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to g_get_current_time() first. At first, I tried