Re: TnyAccount: Prevent unnecessary signal emission.
- From: Philip Van Hoof <spam pvanhoof be>
- To: Murray Cumming <murrayc murrayc com>
- Cc: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Re: TnyAccount: Prevent unnecessary signal emission.
- Date: Tue, 04 Sep 2007 18:08:03 +0200
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]