listbox: don't call gtk_style_context_set_background()

This commit is contained in:
Cosimo Cecchi 2015-06-03 18:17:27 -07:00
parent ba2f479aa0
commit db76eae41a

View File

@ -2030,7 +2030,6 @@ gtk_list_box_realize (GtkWidget *widget)
window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, GDK_WA_X | GDK_WA_Y);
gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
gdk_window_set_user_data (window, (GObject*) widget);
gtk_widget_set_window (widget, window); /* Passes ownership */
}