summaryrefslogtreecommitdiff
path: root/sensors-applet/active-sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sensors-applet/active-sensor.h')
-rw-r--r--sensors-applet/active-sensor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sensors-applet/active-sensor.h b/sensors-applet/active-sensor.h
index 7258515..3147367 100644
--- a/sensors-applet/active-sensor.h
+++ b/sensors-applet/active-sensor.h
@@ -36,7 +36,11 @@ struct _ActiveSensor {
GtkWidget *graph;
GtkWidget *graph_frame;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA graph_color;
+#else
GdkColor graph_color;
+#endif
GtkTreeRowReference *sensor_row;