summaryrefslogtreecommitdiff
path: root/sensors-applet/main.c
diff options
context:
space:
mode:
authorinfo-cppsp <[email protected]>2017-11-18 16:24:13 +0100
committerraveit65 <[email protected]>2017-11-26 20:41:43 +0100
commite493e98f479c5559adfe2451b6c80bf87318149a (patch)
tree203746167797b3010e6ddc2f8dc3d2a918a1db9e /sensors-applet/main.c
parent287eeb06149861d8a56de73b2c897ebac95e48b0 (diff)
downloadmate-sensors-applet-e493e98f479c5559adfe2451b6c80bf87318149a.tar.bz2
mate-sensors-applet-e493e98f479c5559adfe2451b6c80bf87318149a.tar.xz
Fix indents 06
Diffstat (limited to 'sensors-applet/main.c')
-rw-r--r--sensors-applet/main.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/sensors-applet/main.c b/sensors-applet/main.c
index dc3a2ed..4b820ca 100644
--- a/sensors-applet/main.c
+++ b/sensors-applet/main.c
@@ -27,19 +27,21 @@
static gboolean sensors_applet_fill(MatePanelApplet *applet,
const gchar *iid,
gpointer data) {
- SensorsApplet *sensors_applet;
- gboolean retval = FALSE;
- if (strcmp(iid, "SensorsApplet") == 0) {
- sensors_applet = g_new0(SensorsApplet, 1);
- sensors_applet->applet = applet;
- sensors_applet_init(sensors_applet);
- retval = TRUE;
- }
- return retval;
+
+ SensorsApplet *sensors_applet;
+ gboolean retval = FALSE;
+
+ if (strcmp(iid, "SensorsApplet") == 0) {
+ sensors_applet = g_new0(SensorsApplet, 1);
+ sensors_applet->applet = applet;
+ sensors_applet_init(sensors_applet);
+ retval = TRUE;
+ }
+ return retval;
}
MATE_PANEL_APPLET_OUT_PROCESS_FACTORY ("SensorsAppletFactory",
- PANEL_TYPE_APPLET,
- "SensorsApplet",
- sensors_applet_fill,
- NULL);
+ PANEL_TYPE_APPLET,
+ "SensorsApplet",
+ sensors_applet_fill,
+ NULL);