changeset 13995:ef338033b138

[gaim-migrate @ 16573] Didn't mean to revert that. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 25 Jul 2006 17:34:29 +0000
parents 626977ae8869
children abb12528b1b7
files src/gtkconv.c src/log.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Jul 25 17:30:03 2006 +0000
+++ b/src/gtkconv.c	Tue Jul 25 17:34:29 2006 +0000
@@ -6518,7 +6518,13 @@
 	                                    "GaimGtkWindow *"));
 
 	gaim_signal_register(handle, "conversation-timestamp",
+#if SIZEOF_TIME_T == 4
 	                     gaim_marshal_POINTER__POINTER_INT,
+#elif SIZEOF_TIME_T == 8
+			     gaim_marshal_POINTER__POINTER_INT64,
+#else
+#error Unkown size of time_t
+#endif
 	                     gaim_value_new(GAIM_TYPE_POINTER), 2,
 	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
 	                                    GAIM_SUBTYPE_LOG),
--- a/src/log.c	Tue Jul 25 17:30:03 2006 +0000
+++ b/src/log.c	Tue Jul 25 17:34:29 2006 +0000
@@ -594,7 +594,13 @@
 	gaim_log_logger_add(old_logger);
 
 	gaim_signal_register(handle, "log-timestamp",
+#if SIZEOF_TIME_T == 4
 	                     gaim_marshal_POINTER__POINTER_INT,
+#elif SIZEOF_TIME_T == 8
+			     gaim_marshal_POINTER__POINTER_INT64,
+#else
+#error Unknown size of time_t
+#endif
 	                     gaim_value_new(GAIM_TYPE_POINTER), 2,
 	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
 	                                    GAIM_SUBTYPE_LOG),