mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
accellabel: Stop setting state flags on the style context for drawing
This commit is contained in:
parent
cc8012eb32
commit
221442aa2a
@ -445,7 +445,6 @@ gtk_accel_label_draw (GtkWidget *widget,
|
|||||||
|
|
||||||
gtk_style_context_save (context);
|
gtk_style_context_save (context);
|
||||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_ACCELERATOR);
|
gtk_style_context_add_class (context, GTK_STYLE_CLASS_ACCELERATOR);
|
||||||
gtk_style_context_set_state (context, gtk_widget_get_state_flags (widget));
|
|
||||||
|
|
||||||
gtk_render_layout (context, cr, x, y, accel_layout);
|
gtk_render_layout (context, cr, x, y, accel_layout);
|
||||||
gtk_style_context_restore (context);
|
gtk_style_context_restore (context);
|
||||||
|
Loading…
Reference in New Issue
Block a user