Ported to gnome 3.6 libs