summaryrefslogtreecommitdiff
path: root/src/terminal-info-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal-info-bar.c')
-rw-r--r--src/terminal-info-bar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal-info-bar.c b/src/terminal-info-bar.c
index 0574224..5e60f21 100644
--- a/src/terminal-info-bar.c
+++ b/src/terminal-info-bar.c
@@ -41,7 +41,11 @@ terminal_info_bar_init (TerminalInfoBar *bar)
priv = bar->priv = TERMINAL_INFO_BAR_GET_PRIVATE (bar);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ priv->content_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
+#else
priv->content_box = gtk_vbox_new (FALSE, 6);
+#endif
gtk_box_pack_start (GTK_BOX (gtk_info_bar_get_content_area (info_bar)),
priv->content_box, TRUE, TRUE, 0);
}