add double-lock patch from fedora
more complete patch from GNOME BZ#667230

https://bugzilla.gnome.org/show_bug.cgi?id=667230