menuitem: Draw background unconditionally

This commit is contained in:
Benjamin Otte 2012-10-11 11:48:32 +02:00
parent b1ad5c8abc
commit 73fe9a2acf

View File

@ -1719,11 +1719,8 @@ gtk_menu_item_draw (GtkWidget *widget,
gtk_style_context_get_padding (context, state, &padding);
if (child && (state & GTK_STATE_FLAG_PRELIGHT))
{
gtk_render_background (context, cr, x, y, w, h);
gtk_render_frame (context, cr, x, y, w, h);
}
gtk_render_background (context, cr, x, y, w, h);
gtk_render_frame (context, cr, x, y, w, h);
if (priv->submenu && !GTK_IS_MENU_BAR (parent))
{