From: Dan Nicholson Date: Fri, 18 Oct 2019 17:10:44 +0000 (-0600) Subject: repo: Stop using deprecated G_GNUC_FUNCTION X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~14^2~10^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4df90d40121df9ba38b8f379660abbfac0212ef7;p=ostree.git 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. --- diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 584037c4..cff70d47 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1548,8 +1548,8 @@ keyfile_set_from_vardict (GKeyFile *keyfile, g_key_file_set_string_list (keyfile, section, key, strv_child, len); } else - g_critical ("Unhandled type '%s' in " G_GNUC_FUNCTION, - (char*)g_variant_get_type (child)); + g_critical ("Unhandled type '%s' in %s", + (char*)g_variant_get_type (child), G_STRFUNC); } }