diff options
author | monsta <[email protected]> | 2016-05-26 17:33:01 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-05-26 17:33:01 +0300 |
commit | b2919d25fa7e8a6b09e1502ed35b10e3fb27ec08 (patch) | |
tree | 1897f74559a08564d6850382005576cc95f2247e /src/terminal-screen-container.c | |
parent | ea302a83da329d7f182724fb0c9d1a4d22aa9362 (diff) | |
download | mate-terminal-b2919d25fa7e8a6b09e1502ed35b10e3fb27ec08.tar.bz2 mate-terminal-b2919d25fa7e8a6b09e1502ed35b10e3fb27ec08.tar.xz |
drop old code for VTE < 0.38 (it was used in GTK+2 build)
Diffstat (limited to 'src/terminal-screen-container.c')
-rw-r--r-- | src/terminal-screen-container.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/terminal-screen-container.c b/src/terminal-screen-container.c index 52432e5..67c6bbf 100644 --- a/src/terminal-screen-container.c +++ b/src/terminal-screen-container.c @@ -145,11 +145,7 @@ terminal_screen_container_constructor (GType type, g_assert (priv->screen != NULL); #ifdef USE_SCROLLED_WINDOW -#if VTE_CHECK_VERSION (0, 38, 0) priv->scrolled_window = gtk_scrolled_window_new (NULL, gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (priv->screen))); -#else - priv->scrolled_window = gtk_scrolled_window_new (NULL, vte_terminal_get_adjustment (VTE_TERMINAL (priv->screen))); -#endif gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (priv->scrolled_window), priv->hscrollbar_policy, @@ -169,11 +165,7 @@ terminal_screen_container_constructor (GType type, priv->hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); -#if VTE_CHECK_VERSION (0, 38, 0) priv->vscrollbar = gtk_vscrollbar_new (gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (priv->screen))); -#else - priv->vscrollbar = gtk_vscrollbar_new (vte_terminal_get_adjustment (VTE_TERMINAL (priv->screen))); -#endif 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); |