summaryrefslogtreecommitdiff
path: root/src/openfiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openfiles.cpp')
-rw-r--r--src/openfiles.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 891ff2f..d828516 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -19,6 +19,11 @@
#define NI_IDN 0
#endif
+#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
+
enum
{
COL_FD,