summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/load-graph.h')
-rw-r--r--src/load-graph.h4
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];