diff options
Diffstat (limited to 'src/lsof.cpp')
-rw-r--r-- | src/lsof.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lsof.cpp b/src/lsof.cpp index 6854de2..4c1f13a 100644 --- a/src/lsof.cpp +++ b/src/lsof.cpp @@ -21,6 +21,10 @@ #include "lsof.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; |