Make bookmark support work with GTK+ 2.12 without deprecated functions (patch by Lionel Debroux based on my suggestions).