diff options
author | rbuj <[email protected]> | 2019-06-16 13:21:30 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-18 10:07:19 +0200 |
commit | 66368a189dea7ab666cb4089ee30b6ba04ba5132 (patch) | |
tree | 3d62c86143e83d6190578c20d2fe9714746b8eb5 /typing-break/drw-timer.c | |
parent | 5caf5bd5aa799c35050c728f72617ad6b03fb0d7 (diff) | |
download | mate-control-center-66368a189dea7ab666cb4089ee30b6ba04ba5132.tar.bz2 mate-control-center-66368a189dea7ab666cb4089ee30b6ba04ba5132.tar.xz |
Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
Diffstat (limited to 'typing-break/drw-timer.c')
-rw-r--r-- | typing-break/drw-timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/typing-break/drw-timer.c b/typing-break/drw-timer.c index 075f40b7..ace2c19f 100644 --- a/typing-break/drw-timer.c +++ b/typing-break/drw-timer.c @@ -21,24 +21,24 @@ #include <glib.h> #include "drw-timer.h" -struct _DrwTimer +struct _DrwTimer { GTimeVal start_time; }; -DrwTimer * drw_timer_new () +DrwTimer * drw_timer_new () { DrwTimer * timer = g_new0 (DrwTimer, 1); drw_timer_start (timer); return timer; } -void drw_timer_start (DrwTimer *timer) +void drw_timer_start (DrwTimer *timer) { g_get_current_time (&timer->start_time); } -double drw_timer_elapsed (DrwTimer *timer) +double drw_timer_elapsed (DrwTimer *timer) { GTimeVal now; g_get_current_time (&now); |