Re: [PATCH] core: Allow grouping all changed medias in "content-changed" signal
- From: "Juan A." Suárez Romero <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH] core: Allow grouping all changed medias in "content-changed" signal
- Date: Thu, 07 Apr 2011 16:53:32 +0200
On Fri, 2011-04-01 at 13:05 +0200, Juan A. Suarez Romero wrote:
> When several multimedia files change at the same time, it can be
> useful to send
> just one signal containing all the changed medias, instead of sending
> signal per change.
> This commit changes the "content-changed" signal and related functions
> to send
> a list of changed medias instead of one media.
After a discussion with Lionel and Bastien, I'm changing this work to
use a GPtrArray instead of GList.
The main basic reason is that if receiver wants to keep the elements,
just doing a g_ptr_array_ref() in the container is enough.
] [Thread Prev