tearoffmenuitem: Don't clear the window, it should be clear already

This commit is contained in:
Benjamin Otte 2010-09-07 22:45:21 +02:00
parent d992df0a47
commit 557b9d0b26

View File

@ -161,8 +161,6 @@ gtk_tearoff_menu_item_expose (GtkWidget *widget,
&event->area, widget, "menuitem",
x, y, width, height);
}
else
gdk_window_clear_area (window, area->x, area->y, area->width, area->height);
parent = gtk_widget_get_parent (widget);
if (GTK_IS_MENU (parent) && GTK_MENU (parent)->torn_off)