summaryrefslogtreecommitdiff
path: root/sensors-applet/active-sensor.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-07 00:01:04 +0200
committerinfirit <[email protected]>2015-07-07 01:19:55 +0200
commit56b59ced4437300d56b7e2f1d5061f06c0a266f5 (patch)
tree3b1b960d6d0daa3a79c2ec5a75c24db3a5b8626a /sensors-applet/active-sensor.h
parent148eab649fa789ae1bfc1a0c7cfb59866045d525 (diff)
downloadmate-sensors-applet-56b59ced4437300d56b7e2f1d5061f06c0a266f5.tar.bz2
mate-sensors-applet-56b59ced4437300d56b7e2f1d5061f06c0a266f5.tar.xz
Gtk3: Use GdkRGBA
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;