From: Kalle Wallin Date: Sat, 3 Jul 2004 16:48:56 +0000 (+0000) Subject: Replaced the time_t type with glibs GTime X-Git-Tag: v0.12_alpha1~476 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41f97e2fed32496da010db6a1e472617d7ad11c1;p=ncmpc.git Replaced the time_t type with glibs GTime git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/src/screen.h b/src/screen.h index d3cad8c..c725bb1 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 4182d2e..0a72e39 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;