diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-07-19 17:37:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-07-19 17:37:39 -0400 |
commit | 5b5b4de4951b7b9e043e9791135a3221378ad990 (patch) | |
tree | b6248f229973bc586e20d33ebf1403aa02e4f674 /gtk/gtkplacessidebar.c | |
parent | f263c11ce89fdf6560ee91ccfc711c20eb14271d (diff) | |
download | gtk+-5b5b4de4951b7b9e043e9791135a3221378ad990.tar.gz |
places sidebar: Remove pointless code
No need to set or unset adjustments explicitly.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r-- | gtk/gtkplacessidebar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index b4afb0fc8f..ca91157d0e 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -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)), |