summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 10:50:53 +0200
committerraveit65 <[email protected]>2020-08-04 12:44:51 +0200
commit301549e96d34a3b79fa471aaff5402689bf5868f (patch)
tree89e93abb6dc0f295314b5bd02188d9bef905ddf4 /src
parent2b1255cb5a3b3bb10e04c29f8aaaad05b1359b27 (diff)
downloadmate-power-manager-301549e96d34a3b79fa471aaff5402689bf5868f.tar.bz2
mate-power-manager-301549e96d34a3b79fa471aaff5402689bf5868f.tar.xz
Remove trailing spaces/tabs
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
Diffstat (limited to 'src')
-rw-r--r--src/egg-array-float.c8
-rw-r--r--src/gpm-manager.h2
-rw-r--r--src/gpm-tray-icon.c2
-rw-r--r--src/msd-osd-window.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/egg-array-float.c b/src/egg-array-float.c
index 711f0ae..5e83073 100644
--- a/src/egg-array-float.c
+++ b/src/egg-array-float.c
@@ -431,7 +431,7 @@ egg_array_float_test (gpointer data)
egg_array_float_set (array, 8, 31.0);
egg_array_float_set (array, 9, 30.0);
kernel = egg_array_float_remove_outliers (array, 3, 10.0);
- if (kernel != NULL && kernel->len == 10)
+ if (kernel != NULL && kernel->len == 10)
egg_test_success (test, "got correct length outlier array");
else
egg_test_failed (test, "got gaussian array length (%i)", array->len);
@@ -460,7 +460,7 @@ egg_array_float_test (gpointer data)
egg_array_float_set (array, 8, 20.0);
egg_array_float_set (array, 9, 50.0);
kernel = egg_array_float_remove_outliers (array, 3, 20.0);
- if (kernel != NULL && kernel->len == 10)
+ if (kernel != NULL && kernel->len == 10)
egg_test_success (test, "got correct length outlier array");
else
egg_test_failed (test, "got gaussian array length (%i)", array->len);
@@ -513,7 +513,7 @@ egg_array_float_test (gpointer data)
sigma = 1.1;
egg_test_title (test, "get inprecise gaussian array (%i), sigma %f", size, sigma);
kernel = egg_array_float_compute_gaussian (size, sigma);
- if (kernel == NULL)
+ if (kernel == NULL)
egg_test_success (test, NULL);
else {
egg_test_failed (test, "got gaussian array length (%i)", array->len);
@@ -525,7 +525,7 @@ egg_array_float_test (gpointer data)
sigma = 1.1;
egg_test_title (test, "get gaussian-9 array (%i), sigma %f", size, sigma);
kernel = egg_array_float_compute_gaussian (size, sigma);
- if (kernel != NULL && kernel->len == size)
+ if (kernel != NULL && kernel->len == size)
egg_test_success (test, "got correct length gaussian array");
else
egg_test_failed (test, "got gaussian array length (%i)", array->len);
diff --git a/src/gpm-manager.h b/src/gpm-manager.h
index a78509a..2a86fa5 100644
--- a/src/gpm-manager.h
+++ b/src/gpm-manager.h
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
#define GPM_IS_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GPM_TYPE_MANAGER))
#define GPM_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GPM_TYPE_MANAGER, GpmManagerClass))
#define GPM_MANAGER_ERROR (gpm_manager_error_quark ())
-#define GPM_MANAGER_TYPE_ERROR (gpm_manager_error_get_type ())
+#define GPM_MANAGER_TYPE_ERROR (gpm_manager_error_get_type ())
typedef struct GpmManagerPrivate GpmManagerPrivate;
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 694d925..06b5d0e 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -372,7 +372,7 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon)
g_signal_connect (G_OBJECT (item), "activate",
G_CALLBACK (gpm_tray_icon_show_preferences_cb), icon);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
-
+
/*Set up custom panel menu theme support-gtk3 only */
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (menu));
/* Fix any failures of compiz/other wm's to communicate with gtk for transparency in menu theme */
diff --git a/src/msd-osd-window.c b/src/msd-osd-window.c
index 2780fc5..38554ae 100644
--- a/src/msd-osd-window.c
+++ b/src/msd-osd-window.c
@@ -2,7 +2,7 @@
*
* On-screen-display (OSD) window for mate-settings-daemon's plugins
*
- * Copyright (C) 2006-2007 William Jon McCann <[email protected]>
+ * Copyright (C) 2006-2007 William Jon McCann <[email protected]>
* Copyright (C) 2009 Novell, Inc
*
* Authors: