Updated to work with GTK+-3 version 3.8 to support Ubuntu 13.10 build.