Change API to support GNOME 3.10