summaryrefslogtreecommitdiff
path: root/src/caja-search-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-search-bar.c')
-rw-r--r--src/caja-search-bar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-search-bar.c b/src/caja-search-bar.c
index cd1a473b..705f259e 100644
--- a/src/caja-search-bar.c
+++ b/src/caja-search-bar.c
@@ -29,6 +29,10 @@
#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)
+#endif
+
struct CajaSearchBarDetails
{
GtkWidget *entry;