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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user