summaryrefslogtreecommitdiff
path: root/src/caja-query-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-query-editor.c')
-rw-r--r--src/caja-query-editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c
index 45201831..67556ddc 100644
--- a/src/caja-query-editor.c
+++ b/src/caja-query-editor.c
@@ -34,6 +34,11 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.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
+
typedef enum
{
CAJA_QUERY_EDITOR_ROW_LOCATION,