summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-12-12 23:14:17 +0300
committermonsta <[email protected]>2016-01-11 14:05:07 +0300
commitcbb995375f1b97679fd42090e31277666249cc84 (patch)
tree46f1d7dcbbb63837e2ddfe8013bb756d01b72fdb /src/load-graph.h
parent6a9264b25f20fe81d837217a6d4875d4e594983f (diff)
downloadmate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.bz2
mate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.xz
drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/load-graph.h')
-rw-r--r--src/load-graph.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/load-graph.h b/src/load-graph.h
index b4b3cdd..6b76cb8 100644
--- a/src/load-graph.h
+++ b/src/load-graph.h
@@ -58,11 +58,7 @@ 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];
@@ -70,11 +66,7 @@ struct LoadGraph {
GtkWidget *main_widget;
GtkWidget *disp;
-#if GTK_CHECK_VERSION(3,0,0)
cairo_surface_t *background;
-#else
- GdkDrawable *background;
-#endif
guint timer_index;