summaryrefslogtreecommitdiff
path: root/src/eom-error-message-area.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-error-message-area.c')
-rw-r--r--src/eom-error-message-area.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eom-error-message-area.c b/src/eom-error-message-area.c
index 3a4a2f4..9ea49a3 100644
--- a/src/eom-error-message-area.c
+++ b/src/eom-error-message-area.c
@@ -34,6 +34,11 @@
#include <glib-object.h>
#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 2, 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 void
set_message_area_text_and_icon (GtkInfoBar *message_area,
const gchar *icon_stock_id,