aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-theme.c2
-rw-r--r--libempathy/empathy-message.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme.c b/libempathy-gtk/empathy-theme.c
index 5d8e1b80a..f33126a95 100644
--- a/libempathy-gtk/empathy-theme.c
+++ b/libempathy-gtk/empathy-theme.c
@@ -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;
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index d6b8e5323..bac90c76e 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -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;
}