mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 10:38:08 +01:00
e1c640f819
The macro could be used at initialization time to avoid having an unitialized builder, especially with g_auto variables. The macro tries to be a bit more type-safe by making sure that the variant_type parameter is actually "const GVariantType *". Unfortunately I have no idea how to make it possible to also pass a "const gchar *" parameter without warning. https://bugzilla.gnome.org/show_bug.cgi?id=766370