summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 11:54:59 +0200
committerZenWalker <[email protected]>2019-07-05 17:09:27 +0200
commit188846cecfda3b8f19e45ca37a60d817bff2afed (patch)
tree571ae1908573dd88f390482faf1a8c75ea61cc68 /applets/clock
parent96ceed2717780188bc0eb84565d91617783d7192 (diff)
downloadmate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.bz2
mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/calendar-window.c2
-rw-r--r--applets/clock/clock-sunpos.c4
-rw-r--r--applets/clock/clock-utils.c2
-rw-r--r--applets/clock/set-timezone.c2
-rw-r--r--applets/clock/system-timezone.c14
-rw-r--r--applets/clock/test-system-timezone.c2
6 files changed, 13 insertions, 13 deletions
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c
index ed53f060..e230088d 100644
--- a/applets/clock/calendar-window.c
+++ b/applets/clock/calendar-window.c
@@ -206,7 +206,7 @@ create_hig_frame (CalendarWindow *calwin,
g_signal_connect (expander, "notify::expanded",
G_CALLBACK (expand_collapse), vbox);
- /* FIXME: this doesn't really work, since "add" does not
+ /* FIXME: this doesn't really work, since "add" does not
* get emitted for e.g. gtk_box_pack_start
*/
g_signal_connect (vbox, "add", G_CALLBACK (add_child), expander);
diff --git a/applets/clock/clock-sunpos.c b/applets/clock/clock-sunpos.c
index 69e04343..20a7b619 100644
--- a/applets/clock/clock-sunpos.c
+++ b/applets/clock/clock-sunpos.c
@@ -20,7 +20,7 @@
* Jonathan Blandford <[email protected]>
* Matthias Clasen <[email protected]>
*/
-
+
#include <time.h>
#include <gtk/gtk.h>
#include <math.h>
@@ -70,7 +70,7 @@ solve_keplers_equation (gdouble e,
/* start with an initial estimate */
E = M;
-
+
d = E - e * sin (E) - M;
while (ABS (d) > ERROR_ACCURACY)
diff --git a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c
index 19cf74fe..a21c3b86 100644
--- a/applets/clock/clock-utils.c
+++ b/applets/clock/clock-utils.c
@@ -73,7 +73,7 @@ clock_utils_display_help (GtkWidget *widget,
else
uri = g_strdup_printf ("help:%s", doc_id);
- gtk_show_uri_on_window (NULL, uri,
+ gtk_show_uri_on_window (NULL, uri,
gtk_get_current_event_time (), &error);
g_free (uri);
diff --git a/applets/clock/set-timezone.c b/applets/clock/set-timezone.c
index 0df3e24b..109ca2ad 100644
--- a/applets/clock/set-timezone.c
+++ b/applets/clock/set-timezone.c
@@ -223,7 +223,7 @@ set_time_async (SetTimeCallbackData *data)
NULL,
set_time_notify,
data);
- else
+ else
g_dbus_proxy_call (proxy,
"SetTimezone",
g_variant_new ("(s)", data->filename),
diff --git a/applets/clock/system-timezone.c b/applets/clock/system-timezone.c
index d3745e3d..6aa1c5ae 100644
--- a/applets/clock/system-timezone.c
+++ b/applets/clock/system-timezone.c
@@ -3,7 +3,7 @@
* Copyright (C) 2008 Novell, Inc.
*
* Authors: Vincent Untz <[email protected]>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,11 +17,11 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
- *
+ *
* Some code is based on previous code in clock-location.c and on code from
* tz.c (shipped with version <= 2.22.0). Those files were under the same
* license, with those authors and copyrights:
- *
+ *
* clock-location.c:
* ================
* No header, but most of the work was done (AFAIK) by
@@ -36,7 +36,7 @@
* Authors: Hans Petter Jansson <[email protected]>
* additional functions by Erwann Chenede <[email protected]>
* reworked by Vincent Untz <[email protected]>
- *
+ *
* Largely based on Michael Fulbright's work on Anaconda.
*/
@@ -161,7 +161,7 @@ system_timezone_init (SystemTimezone *systz)
priv->tz = NULL;
priv->env_tz = NULL;
- for (i = 0; i < CHECK_NB; i++)
+ for (i = 0; i < CHECK_NB; i++)
priv->monitors[i] = NULL;
}
@@ -215,7 +215,7 @@ system_timezone_constructor (GType type,
if (priv->monitors[i])
g_signal_connect (G_OBJECT (priv->monitors[i]),
- "changed",
+ "changed",
G_CALLBACK (system_timezone_monitor_changed),
obj);
}
@@ -448,7 +448,7 @@ system_timezone_write_key_file (const char *filename,
gboolean replaced;
gboolean retval;
int n;
-
+
if (!g_file_test (filename, G_FILE_TEST_IS_REGULAR))
return TRUE;
diff --git a/applets/clock/test-system-timezone.c b/applets/clock/test-system-timezone.c
index 79084618..f7d100be 100644
--- a/applets/clock/test-system-timezone.c
+++ b/applets/clock/test-system-timezone.c
@@ -3,7 +3,7 @@
* Copyright (C) 2008-2010 Novell, Inc.
*
* Authors: Vincent Untz <[email protected]>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or