GtkListBox: Remove add_to_scrolled()

Now that we automatically set up the focus_vadjustment we only
need the adjustment to handle the page-up/down scroll length correctly.

We use parent_set to automatically pick up the adjustment from a
scrollable (i.e. viewport) parent which makes add_to_scrolled useless, so
it can be removed.
This commit is contained in:
Alexander Larsson
2013-06-10 16:07:20 +02:00
parent 17c559c429
commit ecff28bb68
2 changed files with 15 additions and 14 deletions

View File

@ -133,9 +133,6 @@ void gtk_list_box_set_adjustment (GtkListBox
GDK_AVAILABLE_IN_3_10
GtkAdjustment *gtk_list_box_get_adjustment (GtkListBox *list_box);
GDK_AVAILABLE_IN_3_10
void gtk_list_box_add_to_scrolled (GtkListBox *list_box,
GtkScrolledWindow *scrolled);
GDK_AVAILABLE_IN_3_10
void gtk_list_box_set_selection_mode (GtkListBox *list_box,
GtkSelectionMode mode);
GDK_AVAILABLE_IN_3_10