diff options
author | infirit <[email protected]> | 2015-07-07 00:01:04 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-07 01:19:55 +0200 |
commit | 56b59ced4437300d56b7e2f1d5061f06c0a266f5 (patch) | |
tree | 3b1b960d6d0daa3a79c2ec5a75c24db3a5b8626a /sensors-applet/active-sensor.h | |
parent | 148eab649fa789ae1bfc1a0c7cfb59866045d525 (diff) | |
download | mate-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.h | 4 |
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; |