summaryrefslogtreecommitdiff
path: root/src/load-graph.h
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-03 16:33:24 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-03 16:33:24 +0100
commit63adf8889dea1f36aabe215bfcf33335ef0d057d (patch)
tree2410020ad7eb10e2a1bfdb9da0f75b8f5ae13c2f /src/load-graph.h
parente82c6352ba8bec918114df56c459f6c06b4777c2 (diff)
downloadmate-system-monitor-63adf8889dea1f36aabe215bfcf33335ef0d057d.tar.bz2
mate-system-monitor-63adf8889dea1f36aabe215bfcf33335ef0d057d.tar.xz
load-graph.cpp: Draw the background explicitly
The gdk_window_set_background_pattern() function is a little dubious to use unless you are writing GTK+ code since the background may be overridden by gtkwidget.c whenever the style of the widget changes. Needed for gtk+-3.20
Diffstat (limited to 'src/load-graph.h')
-rw-r--r--src/load-graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load-graph.h b/src/load-graph.h
index 6b76cb8..35bb62b 100644
--- a/src/load-graph.h
+++ b/src/load-graph.h
@@ -66,7 +66,7 @@ struct LoadGraph {
GtkWidget *main_widget;
GtkWidget *disp;
- cairo_surface_t *background;
+ cairo_pattern_t *background;
guint timer_index;