repo: Stop using deprecated G_GNUC_FUNCTION

In glib 2.62 this has been changed to emitting a warning. Use G_STRFUNC
instead, which has been available for a long time and is already used in
other places in ostree.
This commit is contained in:
Dan Nicholson 2019-10-18 11:10:44 -06:00
parent a0cdb1713d
commit 4df90d4012
1 changed files with 2 additions and 2 deletions

View File

@ -1548,8 +1548,8 @@ keyfile_set_from_vardict (GKeyFile *keyfile,
g_key_file_set_string_list (keyfile, section, key, strv_child, len); g_key_file_set_string_list (keyfile, section, key, strv_child, len);
} }
else else
g_critical ("Unhandled type '%s' in " G_GNUC_FUNCTION, g_critical ("Unhandled type '%s' in %s",
(char*)g_variant_get_type (child)); (char*)g_variant_get_type (child), G_STRFUNC);
} }
} }