summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-23 07:42:37 -0800
committerStefano Karapetsas <[email protected]>2013-11-23 07:42:37 -0800
commit43414fec3d31d10c8ca2c9fa227b7e4a75500719 (patch)
treedc02ba832518d84d7c1ae7a2d3ab65f076708ce6 /src/load-graph.h
parent77940a42279f216e9707223e7f3320f13cb8d500 (diff)
parentcec5516cb84a7ecc9489a36cd19bfe28d1bba54e (diff)
downloadmate-system-monitor-43414fec3d31d10c8ca2c9fa227b7e4a75500719.tar.bz2
mate-system-monitor-43414fec3d31d10c8ca2c9fa227b7e4a75500719.tar.xz
Merge pull request #29 from eyelash/gtk3
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;