forked from AuroraMiddleware/gtk
gtkflowbox: Fix warning when realizing
set_background needs the widget's window to be set.
This commit is contained in:
parent
9bd87b37bc
commit
fa6f83d89a
@ -3077,9 +3077,9 @@ gtk_flow_box_realize (GtkWidget *widget)
|
||||
|
||||
window = gdk_window_new (gtk_widget_get_parent_window (GTK_WIDGET (box)),
|
||||
&attributes, GDK_WA_X | GDK_WA_Y);
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (GTK_WIDGET (box)), window);
|
||||
gtk_widget_register_window (GTK_WIDGET (box), window);
|
||||
gtk_widget_set_window (GTK_WIDGET (box), window);
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (GTK_WIDGET (box)), window);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user