diff options
author | rbuj <[email protected]> | 2019-08-16 15:01:22 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-08-21 11:08:11 -0400 |
commit | b670c37a3dd9083418eca389f3452a15f70e0f22 (patch) | |
tree | f6e35fcc6cb957e0f4fcbf78657df8f966b3f06b /capplets/time-admin/src/time-tool.c | |
parent | 797375812a94286b74397818e20e0c94791ab4d7 (diff) | |
download | mate-control-center-b670c37a3dd9083418eca389f3452a15f70e0f22.tar.bz2 mate-control-center-b670c37a3dd9083418eca389f3452a15f70e0f22.tar.xz |
time-admin: Remove unreachable code
Diffstat (limited to 'capplets/time-admin/src/time-tool.c')
-rw-r--r-- | capplets/time-admin/src/time-tool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/capplets/time-admin/src/time-tool.c b/capplets/time-admin/src/time-tool.c index 5491ac6a..2fc18e95 100644 --- a/capplets/time-admin/src/time-tool.c +++ b/capplets/time-admin/src/time-tool.c @@ -132,7 +132,7 @@ gboolean GetNtpState(TimeAdmin *ta) return g_variant_get_boolean (ntp); EXIT: - MessageReport(_("GetNtpState"),error->message,ERROR); + ErrorMessage (_("GetNtpState"), error->message); g_error_free(error); return FALSE; @@ -195,7 +195,7 @@ void SetTimeZone(GDBusProxy *proxy,const char *zone) if(ret == NULL) { - MessageReport(_("Set time zone"),error->message,ERROR); + ErrorMessage (_("Set time zone"), error->message); } } @@ -226,7 +226,7 @@ gboolean ChangeNtpSync (GtkSwitch *widget, gboolean state, gpointer data) if (ret == NULL) { - MessageReport(_("Set Ntp sync"),error->message,ERROR); + ErrorMessage (_("Set Ntp sync"), error->message); g_error_free(error); return TRUE; } @@ -273,7 +273,7 @@ SetTime (GDBusProxy *proxy, gint64 TimeSec) if(ret == NULL) { - MessageReport(_("Set Ntp sync"),error->message,ERROR); + ErrorMessage (_("Set Ntp sync"), error->message); g_error_free(error); return FALSE; } |