menu: Stop drawing css background and border

GtkWidget does it now
This commit is contained in:
Timm Bäder 2017-05-07 12:47:49 +02:00 committed by Matthias Clasen
parent 1a1f9fd03c
commit 2e4df25a1d

View File

@ -2888,21 +2888,14 @@ gtk_menu_snapshot (GtkWidget *widget,
{
GtkMenu *menu;
GtkMenuPrivate *priv;
GtkStyleContext *context;
GtkAllocation allocation;
int x, y;
menu = GTK_MENU (widget);
priv = menu->priv;
context = gtk_widget_get_style_context (widget);
gtk_widget_get_allocation (widget, &allocation);
gtk_snapshot_render_background (snapshot, context, 0, 0,
allocation.width, allocation.height);
gtk_snapshot_render_frame (snapshot, context, 0, 0,
allocation.width, allocation.height);
if (priv->upper_arrow_visible)
gtk_css_gadget_snapshot (priv->top_arrow_gadget, snapshot);