It was a protocol gaffe which no one noticed.
Gambia's new leader was in Ghana to hold bilateral talks with President Akufo-Addo.
The two leaders reaffirmed their commitment to deepen bilateral and economic relations between their respective countries for the mutual benefit of their citizens.
Ghana's former Foreign Minister Hannah Tettheh noticed the diplomatic gaffe and flagged it on Twitter.
She tweeted: "Protocol must have been distracted. I hope next time our flag is turned right."
Mr Barrow won the last elections in The Gambia, beating Yahya Jammeh who had ruled the country for 22 years.
Barrow is the third president in the history of the Gambia.