Re: [PATCH] core: Allow grouping all changed medias in "content-changed" signal



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
> one
> 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.


	J.A.




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