menu_removed_cb: call g_menu_model_get_n_items() once
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 11 Sep 2013 14:24:42 +0000 (16:24 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 25 Sep 2013 13:21:50 +0000 (15:21 +0200)
commitff897a9a71c4eb91548f40ab6ea09e17936cd8c1
treeb34bf3a8ddfb98d73ed5c9fb47c9161889abf237
parent091002b85df80403470285c6e8d85617306467a8
menu_removed_cb: call g_menu_model_get_n_items() once

No need to call it during each iteration.

https://bugzilla.gnome.org/show_bug.cgi?id=707885
src/empathy-roster-window.c