From 188846cecfda3b8f19e45ca37a60d817bff2afed Mon Sep 17 00:00:00 2001 From: Laurent Napias Date: Sat, 29 Jun 2019 11:54:59 +0200 Subject: Remove trailing whitespaces --- applets/clock/calendar-window.c | 2 +- applets/clock/clock-sunpos.c | 4 ++-- applets/clock/clock-utils.c | 2 +- applets/clock/set-timezone.c | 2 +- applets/clock/system-timezone.c | 14 +++++++------- applets/clock/test-system-timezone.c | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'applets/clock') 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 * Matthias Clasen */ - + #include #include #include @@ -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 - * + * * 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 * additional functions by Erwann Chenede * reworked by Vincent Untz - * + * * 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 - * + * * 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 -- cgit v1.2.1