Our recommendation is to error on the side of "safety." Do what needs to be done to protect your child.
Most people will understand and look beyond those little flaws that can be resolved in a 10 minute repair job. An issue of greater concern is freshening up the home so it looks tidy and presentable for all showings. This will be a challenge with a toddler.
Keller Williams Premier Realty
Safety equipment can also help you as well with couples that currently have a baby on the way or toddler. The couple doesn't have to wonder if the house can be 'baby-proofed', they already know it can be, not to mention, the gates (etc.) could potentially be worked into the deal and save the new owners the hassle and expense.
Just my two cents!
As an agent who works primarily with home buyers, I would suggest you remove some of the cabinet locks and things, perhaps in places where it would not put your own baby in imminent jeopardy. As for the gate, is the gate such that you can remove it for showings and put it back up for your own living? If not, I would say if you just leave it unlocked so people don't have to climb over it would be enough. Those of us who don't have small children anymore have a hard time figuring those things out and we don't want to put our own clients in danger of being hurt either.
Over all, I'd say do what will help your house show the best, give buyers a way to see the cabinet space, but without creating safety issues for your own family, too.