From e4f69a2d1af0265d336f16c17f7c353ddae4e50a Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 19 May 2015 18:12:37 +0200 Subject: [PATCH] Gtk+3: Replace deprecated gtk_layout_get_vadjustment with gtk_scrollable_get_vadjustment --- src/ui/gui/psppire-output-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-output-view.c b/src/ui/gui/psppire-output-view.c index 9800c2ba2d..a7de784847 100644 --- a/src/ui/gui/psppire-output-view.c +++ b/src/ui/gui/psppire-output-view.c @@ -407,7 +407,7 @@ on_row_activate (GtkTreeView *overview, y = g_value_get_long (&value); g_value_unset (&value); - vadj = gtk_layout_get_vadjustment (view->output); + vadj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (view->output)); min = gtk_adjustment_get_lower (vadj); max = gtk_adjustment_get_upper (vadj) - gtk_adjustment_get_page_size (vadj); if (y < min) -- 2.30.2