summaryrefslogtreecommitdiff
path: root/src/caja-location-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-location-bar.c')
-rw-r--r--src/caja-location-bar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-location-bar.c b/src/caja-location-bar.c
index a2e27653..ec94c16d 100644
--- a/src/caja-location-bar.c
+++ b/src/caja-location-bar.c
@@ -58,6 +58,10 @@ static const char untranslated_go_to_label[] = N_("Go To:");
#define LOCATION_LABEL _(untranslated_location_label)
#define GO_TO_LABEL _(untranslated_go_to_label)
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
struct CajaLocationBarDetails
{
GtkLabel *label;