Avoided a couple warnings when compiling with Gtk+ 3