summaryrefslogtreecommitdiff
path: root/src/caja-location-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-location-dialog.c')
-rw-r--r--src/caja-location-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-location-dialog.c b/src/caja-location-dialog.c
index b534f210..b6257396 100644
--- a/src/caja-location-dialog.c
+++ b/src/caja-location-dialog.c
@@ -32,6 +32,10 @@
#include "caja-desktop-window.h"
#include <glib/gi18n.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
struct _CajaLocationDialogDetails
{
GtkWidget *entry;