about summary refs log tree commit diff stats
path: root/src/ui/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/buffer.h')
-rw-r--r--src/ui/buffer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/buffer.h b/src/ui/buffer.h
index 4d554b9c..bac96abc 100644
--- a/src/ui/buffer.h
+++ b/src/ui/buffer.h
@@ -37,9 +37,11 @@
 
 #include "config.h"
 
+#include <glib.h>
+
 typedef struct prof_buff_entry_t {
     char show_char;
-    char *date_fmt;
+    GDateTime *time;
     int flags;
     int attrs;
     char *from;
@@ -50,7 +52,7 @@ typedef struct prof_buff_t *ProfBuff;
 
 ProfBuff buffer_create();
 void buffer_free(ProfBuff buffer);
-void buffer_push(ProfBuff buffer, const char show_char, const char * const date_fmt, int flags, int attrs, const char * const from, const char * const message);
+void buffer_push(ProfBuff buffer, const char show_char, GDateTime *time, int flags, int attrs, const char * const from, const char * const message);
 int buffer_size(ProfBuff buffer);
 ProfBuffEntry* buffer_yield_entry(ProfBuff buffer, int entry);
 #endif