Commit 80c600f7 authored by Xavier Claessens's avatar Xavier Claessens

Use g_date_set_time_t instead of g_date_set_time. Fixes bug #523703 (Frederic Peters).

svn path=/trunk/; revision=881
parent 9496ad05
......@@ -168,7 +168,7 @@ empathy_theme_maybe_append_date_and_time (EmpathyTheme *theme,
date = empathy_message_get_date_and_time (message, &timestamp);
last_date = g_date_new ();
g_date_set_time (last_date, empathy_chat_view_get_last_timestamp (view));
g_date_set_time_t (last_date, empathy_chat_view_get_last_timestamp (view));
append_date = FALSE;
append_time = FALSE;
......
......@@ -432,7 +432,7 @@ empathy_message_get_date_and_time (EmpathyMessage *message, time_t *timestamp)
}
date = g_date_new ();
g_date_set_time (date, *timestamp);
g_date_set_time_t (date, *timestamp);
return date;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment