summaryrefslogtreecommitdiff
path: root/shell/ev-message-area.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-message-area.c')
-rw-r--r--shell/ev-message-area.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-message-area.c b/shell/ev-message-area.c
index 355e70fa..a545f2b1 100644
--- a/shell/ev-message-area.c
+++ b/shell/ev-message-area.c
@@ -25,6 +25,11 @@
#include "ev-message-area.h"
+#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
+
#define EV_MESSAGE_AREA_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), EV_TYPE_MESSAGE_AREA, EvMessageAreaPrivate))