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.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/shell/ev-message-area.c b/shell/ev-message-area.c
index a545f2b1..8226537b 100644
--- a/shell/ev-message-area.c
+++ b/shell/ev-message-area.c
@@ -25,11 +25,6 @@
#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))
@@ -101,10 +96,10 @@ ev_message_area_init (EvMessageArea *area)
area->priv = EV_MESSAGE_AREA_GET_PRIVATE (area);
- area->priv->main_box = gtk_vbox_new (FALSE, 12);
+ area->priv->main_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
- hbox = gtk_hbox_new (FALSE, 12);
- vbox = gtk_vbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
area->priv->label = gtk_label_new (NULL);
gtk_label_set_use_markup (GTK_LABEL (area->priv->label), TRUE);