diff options
Diffstat (limited to 'src/sysinfo.cpp')
-rw-r--r-- | src/sysinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp index 968105f..16a34aa 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -31,6 +31,10 @@ #include "procman.h" #include "util.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif using std::string; using std::vector; |