summaryrefslogtreecommitdiff
path: root/pluma/pluma-io-error-message-area.c
diff options
context:
space:
mode:
Diffstat (limited to 'pluma/pluma-io-error-message-area.c')
-rw-r--r--pluma/pluma-io-error-message-area.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pluma/pluma-io-error-message-area.c b/pluma/pluma-io-error-message-area.c
index 4cf0ac9b..4d162f02 100644
--- a/pluma/pluma-io-error-message-area.c
+++ b/pluma/pluma-io-error-message-area.c
@@ -50,6 +50,11 @@
#define MAX_URI_IN_DIALOG_LENGTH 50
+#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
+
static gboolean
is_recoverable_error (const GError *error)
{