diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-29 22:03:16 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 21:02:26 +0100 |
commit | 4534e68bb0cb31734be338efa06cb6d3e00180f6 (patch) | |
tree | 185d1105ddb4c11907a271a80e267c595b32af39 /src/load-graph.cpp | |
parent | 370380d307344bfc5ab8c87142b12009937d48d6 (diff) | |
download | mate-system-monitor-4534e68bb0cb31734be338efa06cb6d3e00180f6.tar.bz2 mate-system-monitor-4534e68bb0cb31734be338efa06cb6d3e00180f6.tar.xz |
GTK3: don't use deprecated gtk_{v/h}-box
Diffstat (limited to 'src/load-graph.cpp')
-rw-r--r-- | src/load-graph.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/load-graph.cpp b/src/load-graph.cpp index fa933d3..ce2e263 100644 --- a/src/load-graph.cpp +++ b/src/load-graph.cpp @@ -28,6 +28,9 @@ #include "util.h" #include "gsm_color_button.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif void LoadGraph::clear_background() { |