Re: TnyAccount: Prevent unnecessary signal emission.



Approved, please commit

On Tue, 2007-09-04 at 18:02 +0200, Murray Cumming wrote:
> This patch adds some checks that stop TnyAccount's set() functions from
> emitting its changed signal when nothing has actually changed. I notice
> that the GtkTreeView cell_data_func callbacks in modest are still being
> called too often, even with this patch, but at least this removes this
> possible cause for that.
> 
> In modest this problem even caused an infinite loop of signalling and
> setting.

-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]