aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-09 20:15:22 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-09 20:15:22 +0800
commit80c600f77706998c3bc6bfe750a14af24288bb74 (patch)
treeb99126539dfb1d7f325814963b2e08b9c10ae7fb
parent9496ad05eb86ce5793030e47e88aa01dff48cb62 (diff)
downloadgsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar.gz
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar.bz2
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar.lz
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar.xz
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.tar.zst
gsoc2013-empathy-80c600f77706998c3bc6bfe750a14af24288bb74.zip
Use g_date_set_time_t instead of g_date_set_time. Fixes bug #523703 (Frederic Peters).
svn path=/trunk/; revision=881
-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;
}