diff src/status.c @ 10567:54f7939df8e3

[gaim-migrate @ 11951] 1) fix the Logged in: thing in tooltips because it disappeared in the status re-write 2) fix the logged in 49 thousand odd days here too committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 Feb 2005 15:37:13 +0000
parents bec9130b24d2
children 662a99c6701f
line wrap: on
line diff
--- a/src/status.c	Wed Feb 02 17:13:41 2005 +0000
+++ b/src/status.c	Thu Feb 03 15:37:13 2005 +0000
@@ -1589,6 +1589,14 @@
 	return presence->warning_level;
 }
 
+time_t
+gaim_presence_get_login_time(const GaimPresence *presence)
+{
+	g_return_val_if_fail(presence != NULL, 0);
+
+	return presence->login_time;
+}
+
 gint
 gaim_presence_compare(const GaimPresence *presence1,
 		const GaimPresence *presence2)