summaryrefslogtreecommitdiff
path: root/src/caja-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-notebook.c')
-rw-r--r--src/caja-notebook.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-notebook.c b/src/caja-notebook.c
index 82d9810b..38546e98 100644
--- a/src/caja-notebook.c
+++ b/src/caja-notebook.c
@@ -45,6 +45,10 @@
#define INSANE_NUMBER_OF_URLS 20
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
static void caja_notebook_init (CajaNotebook *notebook);
static void caja_notebook_class_init (CajaNotebookClass *klass);
static int caja_notebook_insert_page (GtkNotebook *notebook,