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/active-sensor.h | |
parent | 287eeb06149861d8a56de73b2c897ebac95e48b0 (diff) | |
download | mate-sensors-applet-e493e98f479c5559adfe2451b6c80bf87318149a.tar.bz2 mate-sensors-applet-e493e98f479c5559adfe2451b6c80bf87318149a.tar.xz |
Fix indents 06
Diffstat (limited to 'sensors-applet/active-sensor.h')
-rw-r--r-- | sensors-applet/active-sensor.h | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/sensors-applet/active-sensor.h b/sensors-applet/active-sensor.h index 375fa75..6db381e 100644 --- a/sensors-applet/active-sensor.h +++ b/sensors-applet/active-sensor.h @@ -27,47 +27,46 @@ #include "sensors-applet.h" struct _ActiveSensor { - SensorsApplet *sensors_applet; + SensorsApplet *sensors_applet; - /* widgets to render to display the sensor */ - GtkWidget *label; - GtkWidget *icon; - GtkWidget *value; - GtkWidget *graph; - GtkWidget *graph_frame; + /* widgets to render to display the sensor */ + GtkWidget *label; + GtkWidget *icon; + GtkWidget *value; + GtkWidget *graph; + GtkWidget *graph_frame; - GdkRGBA graph_color; + GdkRGBA graph_color; - GtkTreeRowReference *sensor_row; + GtkTreeRowReference *sensor_row; #ifdef HAVE_LIBNOTIFY - NotifyNotification *notification[NUM_NOTIFS]; + NotifyNotification *notification[NUM_NOTIFS]; #endif - gboolean updated; + gboolean updated; - /* alarm related stuff */ - gint alarm_timeout_id[NUM_ALARMS]; - gchar *alarm_command[NUM_ALARMS]; - gint alarm_timeout; + /* alarm related stuff */ + gint alarm_timeout_id[NUM_ALARMS]; + gchar *alarm_command[NUM_ALARMS]; + gint alarm_timeout; - /* buffer of sensor values */ - gdouble *sensor_values; + /* buffer of sensor values */ + gdouble *sensor_values; - /* length of sensor_values buffer */ - gint num_samples; - - gdouble sensor_low_value; - gdouble sensor_high_value; + /* length of sensor_values buffer */ + gint num_samples; + + gdouble sensor_low_value; + gdouble sensor_high_value; }; -ActiveSensor *active_sensor_new(SensorsApplet *sensors_applet, - GtkTreeRowReference *sensor_row); +ActiveSensor *active_sensor_new(SensorsApplet *sensors_applet, GtkTreeRowReference *sensor_row); void active_sensor_destroy(ActiveSensor *active_sensor); gint active_sensor_compare(ActiveSensor *a, ActiveSensor *b); void active_sensor_update(ActiveSensor *sensor, SensorsApplet *sensors_applet); void active_sensor_icon_changed(ActiveSensor *sensor, SensorsApplet *sensors_applet); -void active_sensor_update_graph_dimensions(ActiveSensor *as, - gint dimensions[2]); +void active_sensor_update_graph_dimensions(ActiveSensor *as, gint dimensions[2]); void active_sensor_alarm_off(ActiveSensor *active_sensor, NotifType notif_type); + #endif /* ACTIVE_SENSOR_H */ |