Comment 1 for bug 809889

Revision history for this message
Jesse Jaara (huulivoide) wrote :

This should fix it, but it probably breaks postler with vala 0.10 branch :(

--- postler/postler/postler-content.vala 2011-08-08 11:44:01.537004830 +0300
+++ postler-build/postler/postler-content.vala 2011-08-08 14:49:17.850869152 +0300
@@ -439,7 +439,7 @@
         TimeVal time = new TimeVal ();
         int offset = 0;
         if (parsed != null) {
- parsed.to_timeval (time);
+ time = parsed.to_timeval();
             offset = parsed.offset;
         }
         return new DateTime.from_timeval_local (time).add_minutes (offset);