aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screen.h9
-rw-r--r--src/support.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/src/screen.h b/src/screen.h
index d3cad8cb2..c725bb13c 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -41,10 +41,11 @@ typedef struct
GList *screen_list;
- time_t start_timestamp;
- time_t status_timestamp;
- time_t input_timestamp;
- command_t last_cmd;
+ /* GTime is equivalent to time_t */
+ GTime start_timestamp;
+ GTime status_timestamp;
+ GTime input_timestamp;
+ GTime last_cmd;
int cols, rows;
diff --git a/src/support.h b/src/support.h
index 4182d2e74..0a72e39b0 100644
--- a/src/support.h
+++ b/src/support.h
@@ -18,7 +18,7 @@ char *strcasestr(const char *haystack, const char *needle);
typedef struct
{
int offset;
- time_t t;
+ GTime t; /* GTime is equivalent to time_t */
} scroll_state_t;