summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src/time-share.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-16 15:01:22 +0200
committerVictor Kareh <[email protected]>2019-08-21 11:08:11 -0400
commitb670c37a3dd9083418eca389f3452a15f70e0f22 (patch)
treef6e35fcc6cb957e0f4fcbf78657df8f966b3f06b /capplets/time-admin/src/time-share.h
parent797375812a94286b74397818e20e0c94791ab4d7 (diff)
downloadmate-control-center-b670c37a3dd9083418eca389f3452a15f70e0f22.tar.bz2
mate-control-center-b670c37a3dd9083418eca389f3452a15f70e0f22.tar.xz
time-admin: Remove unreachable code
Diffstat (limited to 'capplets/time-admin/src/time-share.h')
-rw-r--r--capplets/time-admin/src/time-share.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/capplets/time-admin/src/time-share.h b/capplets/time-admin/src/time-share.h
index e6057687..5e1c86c4 100644
--- a/capplets/time-admin/src/time-share.h
+++ b/capplets/time-admin/src/time-share.h
@@ -33,13 +33,6 @@
#include <libintl.h>
#include <gio/gio.h>
-#define ERROR 1
-#define WARING 2
-#define INFOR 3
-#define QUESTION 4
-#define QUESTIONNORMAL 5
-
-
int TimeoutFlag;
typedef struct
{
@@ -70,9 +63,8 @@ typedef struct
}TimeAdmin;
-int MessageReport (const char *Title,
- const char *Msg,
- int nType);
+int ErrorMessage (const char *Title,
+ const char *Msg);
void QuitApp (TimeAdmin *ta);