forked from AuroraMiddleware/gtk
Make GtkOffscreenWindow use GtkStyleContext
This commit is contained in:
parent
7e2dea1dff
commit
f9a5c14ac0
@ -193,9 +193,8 @@ gtk_offscreen_window_realize (GtkWidget *widget)
|
||||
if (child)
|
||||
gtk_widget_set_parent_window (child, window);
|
||||
|
||||
gtk_widget_style_attach (widget);
|
||||
gtk_style_set_background (gtk_widget_get_style (widget),
|
||||
window, GTK_STATE_NORMAL);
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
|
||||
window);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user