Add annotation (allow-none) to the parameter error. https://bugzilla.gnome.org/show_bug.cgi?id=677952