aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-message.c')
-rw-r--r--libempathy/empathy-message.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index b45b41a83..a4bfffb42 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -384,26 +384,6 @@ empathy_message_set_timestamp (EmpathyMessage *message,
g_object_notify (G_OBJECT (message), "timestamp");
}
-GDate *
-empathy_message_get_date_and_time (EmpathyMessage *message, time_t *timestamp)
-{
- GDate *date;
-
- *timestamp = 0;
- if (message) {
- *timestamp = empathy_message_get_timestamp (message);
- }
-
- if (timestamp <= 0) {
- *timestamp = empathy_time_get_current ();
- }
-
- date = g_date_new ();
- g_date_set_time_t (date, *timestamp);
-
- return date;
-}
-
#define IS_SEPARATOR(ch) (ch == ' ' || ch == ',' || ch == '.' || ch == ':')
gboolean
empathy_message_should_highlight (EmpathyMessage *message)