diff options
author | raveit65 <[email protected]> | 2016-08-10 23:18:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-01-19 23:15:15 +0100 |
commit | 0b3e8cb7a0e52fd5918fb447d2bb163cdf345413 (patch) | |
tree | cc1469942a4457d90db1cbe76fffa80e8ad03382 | |
parent | f92b8224a34ea314bb68b426347cb14bacb97e1e (diff) | |
download | mate-sensors-applet-0b3e8cb7a0e52fd5918fb447d2bb163cdf345413.tar.bz2 mate-sensors-applet-0b3e8cb7a0e52fd5918fb447d2bb163cdf345413.tar.xz |
acitve-sensor: fix a warning and use gdk_rgba_parse ()
-rw-r--r-- | sensors-applet/active-sensor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sensors-applet/active-sensor.c b/sensors-applet/active-sensor.c index 91456da..515ad79 100644 --- a/sensors-applet/active-sensor.c +++ b/sensors-applet/active-sensor.c @@ -660,8 +660,8 @@ void active_sensor_update(ActiveSensor *active_sensor, /* do graph if needed */ if (display_mode == DISPLAY_GRAPH) { /* update graph color in case has changed */ - gdk_color_parse(graph_color, - &(active_sensor->graph_color)); + gdk_rgba_parse(&(active_sensor->graph_color), + graph_color); gtk_widget_queue_draw (active_sensor->graph); if (tooltip) { |