diff options
author | info-cppsp <[email protected]> | 2017-11-18 16:24:13 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-26 20:41:43 +0100 |
commit | e493e98f479c5559adfe2451b6c80bf87318149a (patch) | |
tree | 203746167797b3010e6ddc2f8dc3d2a918a1db9e /sensors-applet/main.c | |
parent | 287eeb06149861d8a56de73b2c897ebac95e48b0 (diff) | |
download | mate-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.c | 28 |
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); |