]> git.0d.be Git - empathy.git/commit
make sure that chat_window_contact_menu_update is not called recursively
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 27 Sep 2012 12:27:58 +0000 (14:27 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 28 Sep 2012 10:09:35 +0000 (12:09 +0200)
commit0ab3bd0797578847fe4f4967a3526333cb4a4e61
treee2162a76b84f646db3dd02f7b40ec9c225a3e30f
parent3fd6aa7dcc3a209e4e0795b932efcf4cc1688e90
make sure that chat_window_contact_menu_update is not called recursively

Calling empathy_chat_get_contact_menu() may have as a side effect to call
empathy_contact_set_persona() which will fire a 'notify' signal and so trigger
another mennu update. There is no point doing a second one, and creating a
second menu, so best to avoid recursive calls.
src/empathy-chat-window.c