summaryrefslogtreecommitdiff
path: root/src/dlg-add-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlg-add-folder.c')
-rw-r--r--src/dlg-add-folder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dlg-add-folder.c b/src/dlg-add-folder.c
index 01762f6..ebd0668 100644
--- a/src/dlg-add-folder.c
+++ b/src/dlg-add-folder.c
@@ -40,6 +40,11 @@
#define UNUSED_VARIABLE
#endif
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_VERTICAL, Y)
+#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y)
+#endif
+
typedef struct {
FrWindow *window;
GSettings *settings;