The £27 million striker struck in the 1-1 draw at FA Cup opponents Notts County.
"It was an important goal for him," said England midfielder Gareth Barry.
"The longer a striker goes without a goal the more it can affect him.
"Strikers thrive on confidence, so I hope this settles him down and it can be the first of many because Edin can be a big star for Manchester City.
"When you look at his record, his ratio of goals to games is very good.
"If he can keep that going at City, he is going to do very well."