summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-11-21 17:35:20 +0100
committerElias Aebi <[email protected]>2013-11-21 17:35:20 +0100
commitcec5516cb84a7ecc9489a36cd19bfe28d1bba54e (patch)
tree57f472180ae1fb84be63be95e81611d656c5c787 /src/load-graph.h
parent11c4069c618a6253db551fa5300b0ee5fc4f5de6 (diff)
downloadmate-system-monitor-cec5516cb84a7ecc9489a36cd19bfe28d1bba54e.tar.bz2
mate-system-monitor-cec5516cb84a7ecc9489a36cd19bfe28d1bba54e.tar.xz
add support for GTK3
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 9dd28bb..a120b92 100644
--- a/src/load-graph.h
+++ b/src/load-graph.h
@@ -66,7 +66,11 @@ 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;