Code

Replaced the time_t type with glibs GTime
authorKalle Wallin <kaw@linux.se>
Sat, 3 Jul 2004 16:48:56 +0000 (16:48 +0000)
committerKalle Wallin <kaw@linux.se>
Sat, 3 Jul 2004 16:48:56 +0000 (16:48 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/screen.h
src/support.h

index d3cad8cb2ff30aa36c47272b6468a80d6db4d3b6..c725bb13c64258ce4abdb7b12b4bfc32d696dbe5 100644 (file)
@@ -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;
 
index 4182d2e746dddd3326b458dd6f6b95ec697a5d94..0a72e39b0684f87cfce4b19489a79b65c48ce950 100644 (file)
@@ -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;