summaryrefslogtreecommitdiff
path: root/multiload/global.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-20 09:58:30 +0100
committerStefano Karapetsas <[email protected]>2014-01-20 09:58:30 +0100
commit7ca1965de675c694a0a811c6d075b67a114edd3a (patch)
tree68c72937ff42d5bf24dd90465330cb861ba65e48 /multiload/global.h
parent7779705809b61a180aeb2371afcf8d0cba9ba0e3 (diff)
downloadmate-applets-7ca1965de675c694a0a811c6d075b67a114edd3a.tar.bz2
mate-applets-7ca1965de675c694a0a811c6d075b67a114edd3a.tar.xz
multiload: Add GTK3 support
Diffstat (limited to 'multiload/global.h')
-rw-r--r--multiload/global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/multiload/global.h b/multiload/global.h
index 613adb5d..a480f11c 100644
--- a/multiload/global.h
+++ b/multiload/global.h
@@ -35,11 +35,17 @@ struct _LoadGraph {
guint data_size;
guint *pos;
+#if !GTK_CHECK_VERSION (3, 0, 0)
gint colors_allocated;
+#endif
GtkWidget *main_widget;
GtkWidget *frame, *box, *disp;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ cairo_surface_t *surface;
+#else
GdkPixmap *pixmap;
GdkGC *gc;
+#endif
int timer_index;
gint show_frame;