I made a new GDate with g_date_new, set it to the current date with g_date_set_time_t. This works fine, I look at the contents of the GDate in the debugger and it shows todays date.
So then I call g_date_copy and look at the returned date and its completely wrong, not even close. It might well have returned and unintialised GDate from what I can see. This is all in the same function, one directly after the other. No way for anything else to mess the process up.
Does g_date_copy not do any copying?