summaryrefslogtreecommitdiff
path: root/src/terminal-screen-container.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-06-01 18:36:40 +0300
committermonsta <[email protected]>2016-06-01 18:36:40 +0300
commit395f4422a71257929681e715c1fb5db55c904619 (patch)
tree136148aa297260033a412a6149862dc44f2a8dde /src/terminal-screen-container.c
parente318c801b9abf2a8e8b1ae1eb803f527d6e742a5 (diff)
downloadmate-terminal-395f4422a71257929681e715c1fb5db55c904619.tar.bz2
mate-terminal-395f4422a71257929681e715c1fb5db55c904619.tar.xz
fix deprecated usage of GtkVScrollbar
Diffstat (limited to 'src/terminal-screen-container.c')
-rw-r--r--src/terminal-screen-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-screen-container.c b/src/terminal-screen-container.c
index 67c6bbf..2963edf 100644
--- a/src/terminal-screen-container.c
+++ b/src/terminal-screen-container.c
@@ -165,7 +165,7 @@ terminal_screen_container_constructor (GType type,
priv->hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- priv->vscrollbar = gtk_vscrollbar_new (gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (priv->screen)));
+ priv->vscrollbar = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (priv->screen)));
gtk_box_pack_start (GTK_BOX (priv->hbox), GTK_WIDGET (priv->screen), TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (priv->hbox), priv->vscrollbar, FALSE, FALSE, 0);