I have a brother who is really into computer games. When we were children, my parents got him games and didn't mind when he was sitting behind the computer for hours. I also liked games and I was trying to write stories, draw, install programs to get(ehm, pirate) music too. We had one computer and when my brother was using it I had to wait for him to finish playing. When I was using it, I was sent to play outside or read. Computers were always a boy thing, so I was never really seriously considering studying CS until we did a career test in high school where they encouraged me to go to a STEM field and do something like math or computer science. I gave it a try and loved it.
I think we have to start early and stop dividing professions into for men or women. Let men be nurses and women firefighters. Look at your childrens personalities and let them grow in whatever they enjoy, girly or not.