region: Use g_auto for variables

3 jobs for region-g-auto in 3 minutes and 47 seconds (queued for 23 seconds)
Status Job ID Name Coverage
  Build
failed #36339
build

00:03:47

 
  Test
skipped #36340
test
 
  Delivery
skipped #36341
allowed to fail manual
packaging
 
Name Stage Failure
failed
build Build
                 from /usr/include/glib-2.0/glib/gi18n.h:21,
from ../panels/region/cc-region-panel.c:23:
/usr/include/glib-2.0/glib/gvariant.h:386:96: note: expected 'GVariantBuilder *' {aka 'struct _GVariantBuilder *'} but argument is of type 'GVariantBuilder **' {aka 'struct _GVariantBuilder **'}
void g_variant_builder_add (GVariantBuilder *builder,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[185/434] Generating gnome-region-panel.desktop_merge with a custom command.
[186/434] Generating gnome-search-panel.desktop_merge with a custom command.
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1