summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src/time-share.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-16 14:32:08 +0200
committerVictor Kareh <[email protected]>2019-08-21 14:30:56 -0400
commit0d3c3063d3cbb9563b3a2d4041355cf9d41011c6 (patch)
tree8f11b49a6f46b5368088635bb5c5759e2c6f112f /capplets/time-admin/src/time-share.c
parent4f9ee9d60f0285bebbef3d5fe88ed2177028059e (diff)
downloadmate-control-center-0d3c3063d3cbb9563b3a2d4041355cf9d41011c6.tar.bz2
mate-control-center-0d3c3063d3cbb9563b3a2d4041355cf9d41011c6.tar.xz
time-admin: Don't share «void QuitApp(TimeAdmin *ta)» method
Diffstat (limited to 'capplets/time-admin/src/time-share.c')
-rw-r--r--capplets/time-admin/src/time-share.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/capplets/time-admin/src/time-share.c b/capplets/time-admin/src/time-share.c
index e4069415..c65189b4 100644
--- a/capplets/time-admin/src/time-share.c
+++ b/capplets/time-admin/src/time-share.c
@@ -42,17 +42,6 @@ int ErrorMessage (const char *Title,
return nRet;
}
-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();
-}
-
void SetTooltip(GtkWidget *box, gboolean mode)
{
gchar *text = mode ? NULL : _("Network time synchronization has been set up. Manual time/date setting is disabled.");