summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:46:47 +0200
committerraveit65 <[email protected]>2021-11-21 15:08:09 +0100
commit8281e9833a31d8731e8dd405fea2b1138dcc4ff8 (patch)
treed1bc46ccb1855b1fb892779f25a2a333a9962820 /cpufreq
parentbb0195c17052309b55c23629e24465e1ef4dc70c (diff)
downloadmate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.bz2
mate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.xz
Use a blank line at most
Diffstat (limited to 'cpufreq')
-rw-r--r--cpufreq/src/cpufreq-applet.c1
-rw-r--r--cpufreq/src/cpufreq-prefs.c1
-rw-r--r--cpufreq/src/cpufreq-selector.c1
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.h1
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-service.c1
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.h1
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector.h1
-rw-r--r--cpufreq/src/cpufreq-selector/main.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index adec4be1..351d6136 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -720,7 +720,6 @@ cpufreq_applet_refresh (CPUFreqApplet *applet)
horizontal = ((applet->orient == MATE_PANEL_APPLET_ORIENT_UP) ||
(applet->orient == MATE_PANEL_APPLET_ORIENT_DOWN));
-
/* We want a fixed label size, the biggest */
gtk_widget_get_preferred_width (GTK_WIDGET (applet->label), &label_size, NULL);
diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c
index f0e60bf0..c767861e 100644
--- a/cpufreq/src/cpufreq-prefs.c
+++ b/cpufreq/src/cpufreq-prefs.c
@@ -68,7 +68,6 @@ static void cpufreq_prefs_get_property (GObject *object,
static void cpufreq_prefs_dialog_update_sensitivity (CPUFreqPrefs *prefs);
-
G_DEFINE_TYPE_WITH_PRIVATE (CPUFreqPrefs, cpufreq_prefs, G_TYPE_OBJECT)
static void
diff --git a/cpufreq/src/cpufreq-selector.c b/cpufreq/src/cpufreq-selector.c
index e157369d..01fe59b5 100644
--- a/cpufreq/src/cpufreq-selector.c
+++ b/cpufreq/src/cpufreq-selector.c
@@ -118,7 +118,6 @@ cpufreq_selector_connect_to_system_bus (CPUFreqSelector *selector,
return (selector->system_bus != NULL);
}
-
static gboolean
cpufreq_selector_create_proxy (CPUFreqSelector *selector,
GError **error)
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.h b/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.h
index 90127579..c15c875f 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.h
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.h
@@ -52,7 +52,6 @@ struct _CPUFreqSelectorLibcpufreqClass {
CPUFreqSelectorClass parent_class;
};
-
GType cpufreq_selector_libcpufreq_get_type (void) G_GNUC_CONST;
CPUFreqSelector *cpufreq_selector_libcpufreq_new (guint cpu);
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
index 6ce03984..cad5c5a5 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
@@ -438,7 +438,6 @@ cpufreq_selector_service_set_governor (CPUFreqSelectorService *service,
return TRUE;
}
-
gboolean
cpufreq_selector_service_can_set (CPUFreqSelectorService *service,
DBusGMethodInvocation *context)
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.h b/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.h
index f0b90555..6fb9cab2 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.h
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.h
@@ -49,7 +49,6 @@ struct _CPUFreqSelectorSysfsClass {
CPUFreqSelectorClass parent_class;
};
-
GType cpufreq_selector_sysfs_get_type (void) G_GNUC_CONST;
CPUFreqSelector *cpufreq_selector_sysfs_new (guint cpu);
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector.h b/cpufreq/src/cpufreq-selector/cpufreq-selector.h
index 05489e26..b1fc5162 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector.h
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector.h
@@ -60,7 +60,6 @@ struct _CPUFreqSelectorClass {
GError **error);
};
-
GType cpufreq_selector_get_type (void) G_GNUC_CONST;
GQuark cpufreq_selector_error_quark (void) G_GNUC_CONST;
diff --git a/cpufreq/src/cpufreq-selector/main.c b/cpufreq/src/cpufreq-selector/main.c
index 749653db..4993c430 100644
--- a/cpufreq/src/cpufreq-selector/main.c
+++ b/cpufreq/src/cpufreq-selector/main.c
@@ -33,7 +33,6 @@
#endif
#include "cpufreq-selector-factory.h"
-
static gint cpu = 0;
static gchar *governor = NULL;
static gulong frequency = 0;