Do you see any error messages on the console where you run your program? What OS are you using? What version of GTK+ are you using?