diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-03 16:33:24 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-03 16:33:24 +0100 |
commit | 63adf8889dea1f36aabe215bfcf33335ef0d057d (patch) | |
tree | 2410020ad7eb10e2a1bfdb9da0f75b8f5ae13c2f /src/load-graph.h | |
parent | e82c6352ba8bec918114df56c459f6c06b4777c2 (diff) | |
download | mate-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.h | 2 |
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; |