summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-29 13:20:17 +0100
committerraveit65 <[email protected]>2021-01-07 18:35:10 +0100
commitd5b116f704848c7224d1cd339be478ecaccdec96 (patch)
tree576099d2e69b329aaf81e15b79efd7e78591ddf1 /cpufreq
parentad76d1dfe9b31be3d9c3bad10712594eb3926ecb (diff)
downloadmate-applets-d5b116f704848c7224d1cd339be478ecaccdec96.tar.bz2
mate-applets-d5b116f704848c7224d1cd339be478ecaccdec96.tar.xz
Don't leave any round bracket at line end
Diffstat (limited to 'cpufreq')
-rw-r--r--cpufreq/src/cpufreq-applet.c5
-rw-r--r--cpufreq/src/cpufreq-monitor-libcpufreq.c10
-rw-r--r--cpufreq/src/cpufreq-monitor-sysfs.c10
3 files changed, 15 insertions, 10 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index d965ed93..87fbc7af 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -813,8 +813,9 @@ cpufreq_applet_setup (CPUFreqApplet *applet)
(gpointer) applet);
/* Monitor */
- applet->monitor = cpufreq_monitor_factory_create_monitor (
- cpufreq_prefs_get_cpu (applet->prefs));
+ applet->monitor =
+ cpufreq_monitor_factory_create_monitor (cpufreq_prefs_get_cpu (applet->prefs));
+
cpufreq_monitor_run (applet->monitor);
g_signal_connect_swapped (G_OBJECT (applet->monitor), "changed",
G_CALLBACK (cpufreq_applet_update),
diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c
index d61349e0..cd0d3e53 100644
--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c
+++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c
@@ -62,10 +62,12 @@ cpufreq_monitor_libcpufreq_constructor (GType type,
gulong max_freq, min_freq;
guint cpu;
- object = G_OBJECT_CLASS (
- cpufreq_monitor_libcpufreq_parent_class)->constructor (type,
- n_construct_properties,
- construct_params);
+ object =
+ G_OBJECT_CLASS (cpufreq_monitor_libcpufreq_parent_class)
+ ->constructor (type,
+ n_construct_properties,
+ construct_params);
+
g_object_get (G_OBJECT (object),
"cpu", &cpu,
NULL);
diff --git a/cpufreq/src/cpufreq-monitor-sysfs.c b/cpufreq/src/cpufreq-monitor-sysfs.c
index 0d7f378a..8ea88de2 100644
--- a/cpufreq/src/cpufreq-monitor-sysfs.c
+++ b/cpufreq/src/cpufreq-monitor-sysfs.c
@@ -83,10 +83,12 @@ cpufreq_monitor_sysfs_constructor (GType type,
guint cpu;
GError *error = NULL;
- object = G_OBJECT_CLASS (
- cpufreq_monitor_sysfs_parent_class)->constructor (type,
- n_construct_properties,
- construct_params);
+ object =
+ G_OBJECT_CLASS (cpufreq_monitor_sysfs_parent_class)
+ ->constructor (type,
+ n_construct_properties,
+ construct_params);
+
g_object_get (G_OBJECT (object),
"cpu", &cpu,
NULL);