forked from AuroraMiddleware/gtk
places sidebar: Remove pointless code
No need to set or unset adjustments explicitly.
This commit is contained in:
parent
f263c11ce8
commit
5b5b4de495
@ -3766,8 +3766,6 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sidebar),
|
||||
GTK_POLICY_NEVER,
|
||||
GTK_POLICY_AUTOMATIC);
|
||||
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
|
||||
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
|
||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_IN);
|
||||
|
||||
gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (sidebar)),
|
||||
|
Loading…
Reference in New Issue
Block a user