gi: fix wrong function name