diff options
Diffstat (limited to 'src/load-graph.h')
-rw-r--r-- | src/load-graph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/load-graph.h b/src/load-graph.h index 2a212fb..b4b3cdd 100644 --- a/src/load-graph.h +++ b/src/load-graph.h @@ -58,7 +58,11 @@ struct LoadGraph { double graph_delx; guint graph_buffer_offset; +#if GTK_CHECK_VERSION(3,0,0) + std::vector<GdkRGBA> colors; +#else std::vector<GdkColor> colors; +#endif std::vector<float> data_block; gfloat* data[NUM_POINTS]; |