Not a straw purchase. See the 4473:
Question 11.a. Actual Transferee/Buyer: For purposes of this form, you are the actual transferee/buyer if you are purchasing the firearm for yourself or otherwise acquiring the firearm for yourself (e.g., redeeming the firearm from pawn/retrieving it from consignment, firearm raffle winner). You are also the actual transferee/buyer if you are legitimately purchasing the firearm as a gift for a third party.
If it is a present for her, you are okay to buy it. If she asks you to go pick up a gun because she can't make it to the store and gives you the money to buy it, that's a straw purchase.
Same end result, totally different reaction from the Feds.
Pretty insane how same result ends up as prison time if caught lol,