mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
listbox: don't call gtk_style_context_set_background()
This commit is contained in:
parent
ba2f479aa0
commit
db76eae41a
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user