Charge the parents of the toddler for negligence and raw stupidity.
While I'll never own a gun myself, I don't really have a problem with gun laws regarding children, provided the parents aren't retarded enough to keep them on hand like that. They should be locked tightly.
The sad thing is that the vast majority (but not all) of civilian gun owners are typically lower IQ people, so shit like this happens every so often.