menuitem: Stop setting state flags on the style context for drawing

This commit is contained in:
Rui Matos
2011-12-19 15:52:14 +00:00
parent 6b624a5a18
commit 9a4edf7a5a

View File

@ -1604,7 +1604,6 @@ gtk_menu_item_draw (GtkWidget *widget,
parent = gtk_widget_get_parent (widget);
gtk_style_context_save (context);
gtk_style_context_set_state (context, state);
gtk_style_context_get_padding (context, state, &padding);