forked from AuroraMiddleware/gtk
spinner: Stop setting state flags on the style context for drawing
This commit is contained in:
parent
e9549a7514
commit
b203ea2f93
@ -202,12 +202,9 @@ gtk_spinner_draw (GtkWidget *widget,
|
||||
cairo_t *cr)
|
||||
{
|
||||
GtkStyleContext *context;
|
||||
GtkStateFlags state;
|
||||
|
||||
context = gtk_widget_get_style_context (widget);
|
||||
state = gtk_widget_get_state_flags (widget);
|
||||
|
||||
gtk_style_context_set_state (context, state);
|
||||
gtk_render_activity (context, cr, 0, 0,
|
||||
gtk_widget_get_allocated_width (widget),
|
||||
gtk_widget_get_allocated_height (widget));
|
||||
|
Loading…
Reference in New Issue
Block a user