diff options
author | Laurent Napias <[email protected]> | 2019-06-29 11:54:59 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-07-05 17:09:27 +0200 |
commit | 188846cecfda3b8f19e45ca37a60d817bff2afed (patch) | |
tree | 571ae1908573dd88f390482faf1a8c75ea61cc68 /applets | |
parent | 96ceed2717780188bc0eb84565d91617783d7192 (diff) | |
download | mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.bz2 mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'applets')
-rw-r--r-- | applets/clock/calendar-window.c | 2 | ||||
-rw-r--r-- | applets/clock/clock-sunpos.c | 4 | ||||
-rw-r--r-- | applets/clock/clock-utils.c | 2 | ||||
-rw-r--r-- | applets/clock/set-timezone.c | 2 | ||||
-rw-r--r-- | applets/clock/system-timezone.c | 14 | ||||
-rw-r--r-- | applets/clock/test-system-timezone.c | 2 | ||||
-rw-r--r-- | applets/fish/fish.c | 2 | ||||
-rw-r--r-- | applets/notification_area/main.c | 8 | ||||
-rw-r--r-- | applets/notification_area/na-grid.c | 12 | ||||
-rw-r--r-- | applets/notification_area/status-notifier/sn-dbus-menu.c | 2 | ||||
-rw-r--r-- | applets/notification_area/status-notifier/sn-item.c | 2 | ||||
-rw-r--r-- | applets/wncklet/window-list.c | 8 |
12 files changed, 30 insertions, 30 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 diff --git a/applets/fish/fish.c b/applets/fish/fish.c index 976c3087..9f9635e2 100644 --- a/applets/fish/fish.c +++ b/applets/fish/fish.c @@ -155,7 +155,7 @@ static void show_help(FishApplet* fish, const char* link_id) else uri = g_strdup_printf ("help:%s", FISH_HELP_DOC); - 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/notification_area/main.c b/applets/notification_area/main.c index 12a1e073..f99b11c7 100644 --- a/applets/notification_area/main.c +++ b/applets/notification_area/main.c @@ -178,19 +178,19 @@ na_preferences_dialog_response (NaTrayApplet *applet, static void ensure_prefs_window_is_created (NaTrayApplet *applet) -{ +{ if (applet->priv->dialog) return; applet->priv->dialog = g_new0 (NAPreferencesDialog, 1); - + applet->priv->dialog->preferences_dialog = GTK_WIDGET (gtk_builder_get_object (applet->priv->builder, "notification_area_preferences_dialog")); gtk_window_set_icon_name (GTK_WINDOW (applet->priv->dialog->preferences_dialog), NOTIFICATION_AREA_ICON); - + applet->priv->dialog->min_icon_size_spin = GTK_WIDGET (gtk_builder_get_object (applet->priv->builder, "min_icon_size_spin")); g_return_if_fail (applet->priv->dialog->min_icon_size_spin != NULL); - + gtk_spin_button_set_range (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), 7, 100); gtk_spin_button_set_value (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), applet->priv->min_icon_size); diff --git a/applets/notification_area/na-grid.c b/applets/notification_area/na-grid.c index 8465fcab..8d0434c9 100644 --- a/applets/notification_area/na-grid.c +++ b/applets/notification_area/na-grid.c @@ -13,7 +13,7 @@ * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * 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 @@ -138,7 +138,7 @@ refresh_grid (NaGrid *self) GtkOrientation orientation; GtkAllocation allocation; gint rows, cols, length; - + orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self)); gtk_widget_get_allocation (GTK_WIDGET (self), &allocation); length = g_slist_length (self->items); @@ -161,13 +161,13 @@ refresh_grid (NaGrid *self) if (length % cols) rows++; } - + if (self->cols != cols || self->rows != rows || self->length != length) { self->cols = cols; self->rows = rows; self->length = length; - + SortData data; data.orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self)); data.index = 0; @@ -186,7 +186,7 @@ na_grid_set_min_icon_size (NaGrid *grid, g_return_if_fail (NA_IS_GRID (grid)); grid->min_icon_size = min_icon_size; - + refresh_grid (grid); } @@ -244,7 +244,7 @@ na_grid_init (NaGrid *self) self->hosts = NULL; self->items = NULL; - + gtk_grid_set_row_homogeneous (GTK_GRID (self), TRUE); gtk_grid_set_column_homogeneous (GTK_GRID (self), TRUE); diff --git a/applets/notification_area/status-notifier/sn-dbus-menu.c b/applets/notification_area/status-notifier/sn-dbus-menu.c index 5b73db00..1cc3bb5a 100644 --- a/applets/notification_area/status-notifier/sn-dbus-menu.c +++ b/applets/notification_area/status-notifier/sn-dbus-menu.c @@ -378,7 +378,7 @@ sn_dbus_menu_constructed (GObject *object) /* Fix any failures of compiz/other wm's to communicate with gtk for transparency */ screen = gtk_widget_get_screen(GTK_WIDGET(toplevel)); visual = gdk_screen_get_rgba_visual(screen); - gtk_widget_set_visual(GTK_WIDGET(toplevel), visual); + gtk_widget_set_visual(GTK_WIDGET(toplevel), visual); /* Set menu and it's toplevel window to follow panel theme */ context = gtk_widget_get_style_context (GTK_WIDGET(toplevel)); gtk_style_context_add_class(context,"gnome-panel-menu-bar"); diff --git a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c index a7fa6fea..bb8e75ae 100644 --- a/applets/notification_area/status-notifier/sn-item.c +++ b/applets/notification_area/status-notifier/sn-item.c @@ -446,7 +446,7 @@ sn_item_class_init (SnItemClass *item_class) install_properties (object_class); install_signals (item_class); - + g_type_class_add_private (item_class, sizeof (SnItemPrivate)); } diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 207fc2e5..9a8039bf 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -736,23 +736,23 @@ gboolean window_list_applet_fill(MatePanelApplet* applet) for (i = 0; i < G_N_ELEMENTS(system_monitors); i += 1) { programpath = g_find_program_in_path(system_monitors[i]); - + if (programpath != NULL) { g_free(programpath); /* we give up */ goto _system_monitor_found; } - + /* search another */ } /* system monitor not found */ gtk_action_set_visible(gtk_action_group_get_action(action_group, "TasklistSystemMonitor"), FALSE); - + _system_monitor_found:; /* end of system monitor item */ - + mate_panel_applet_setup_menu_from_resource (MATE_PANEL_APPLET (tasklist->applet), WNCKLET_RESOURCE_PATH "window-list-menu.xml", |