summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sensors-applet/active-sensor.c4
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) {