diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-29 09:20:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-29 22:12:30 +0800 |
commit | 953c9d8adff83f0fe6e605c4ce54b306572be046 (patch) | |
tree | 69671cf91641fb13f2b66736e947c678c4cad4fa /calendar | |
parent | c073de6c4c3fac8a724bd85e570181d7b3f4bd47 (diff) | |
download | gsoc2013-evolution-953c9d8adff83f0fe6e605c4ce54b306572be046.tar.gz gsoc2013-evolution-953c9d8adff83f0fe6e605c4ce54b306572be046.tar.zst gsoc2013-evolution-953c9d8adff83f0fe6e605c4ce54b306572be046.zip |
Avoid gtk_tree_view_get_vadjustment().
Use gtk_scrollable_get_vadjustment() instead.
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |