analysis/properties: Explicitly import glib::translate
Properties were previously relying on an implicit import of
`glib::translate::*` by special functions that incorrectly pulled this
in despite not needing it. That has been cleaned up in an earlier commit
leaving property getters and setters without this necessary import.
@@ -113,6 +113,7 @@ fn analyze_property(
let generate = generate.unwrap_or_else(PropertyGenerateFlags::all);
let imports = &mut imports.with_defaults(prop_version, &None);
+ imports.add("glib::translate::*");
let type_string = rust_type(env, prop.typ);
let name_for_func = nameutil::signal_to_snake(&name);
