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 /capplets/time-admin/src/time-share.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 'capplets/time-admin/src/time-share.c')
-rw-r--r-- | capplets/time-admin/src/time-share.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/capplets/time-admin/src/time-share.c b/capplets/time-admin/src/time-share.c index b4c34e80..797f506f 100644 --- a/capplets/time-admin/src/time-share.c +++ b/capplets/time-admin/src/time-share.c @@ -1,4 +1,4 @@ -/* time-admin +/* time-admin * Copyright (C) 2018 zhuyaliang https://github.com/zhuyaliang/ * * This program is free software: you can redistribute it and/or modify @@ -22,14 +22,14 @@ /****************************************************************************** * Function: MessageReport -* +* * Explain: Prompt information dialog -* +* * Input: @Title Message title -* @Msg Message content +* @Msg Message content * @nType Message type -* Output: -* +* Output: +* * Author: zhuyaliang 25/05/2018 ******************************************************************************/ int MessageReport(const char *Title,const char *Msg,int nType) @@ -85,7 +85,7 @@ int MessageReport(const char *Title,const char *Msg,int nType) GTK_BUTTONS_YES_NO, "%s",Title); break; - } + } default : break; @@ -114,12 +114,12 @@ void QuitApp(TimeAdmin *ta) if(ta->UpdateTimeId > 0) { g_source_remove (ta->UpdateTimeId); - } + } if(ta->ApplyId > 0) { g_source_remove(ta->ApplyId); - } - + } + gtk_main_quit(); } GtkWidget* DialogAddButtonWithIconName (GtkDialog *dialog, |