From 953c9d8adff83f0fe6e605c4ce54b306572be046 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 28 Nov 2012 20:20:10 -0500 Subject: Avoid gtk_tree_view_get_vadjustment(). Use gtk_scrollable_get_vadjustment() instead. --- calendar/gui/e-meeting-time-sel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 3747a7be1d..44f4f6521a 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -1343,11 +1343,11 @@ e_meeting_time_selector_vadjustment_changed (GtkAdjustment *adjustment, EMeetingTimeSelector *mts) { GtkAdjustment *vadjustment; - GtkTreeView *tree_view; + GtkScrollable *scrollable; gdouble value; - tree_view = GTK_TREE_VIEW (mts->list_view); - vadjustment = gtk_tree_view_get_vadjustment (tree_view); + scrollable = GTK_SCROLLABLE (mts->list_view); + vadjustment = gtk_scrollable_get_vadjustment (scrollable); value = gtk_adjustment_get_value (adjustment); gtk_adjustment_set_value (vadjustment, value); -- cgit