Changed for Gnome 3.8 compatibility.