Re: [PATCH 4/6] Serialize all properties
- From: Víctor M. Jáquez L. <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH 4/6] Serialize all properties
- Date: Fri, 28 May 2010 12:29:32 +0200
On Fri, May 28, 2010 at 11:56:54AM +0200, Juan A. Suarez Romero wrote:
> On Fri, 2010-05-28 at 11:15 +0200, Víctor M. Jáquez L. wrote:
> > > -grl_media_serialize (GrlMedia *media)
> > > +grl_media_serialize (GrlMedia *media,
> > > + gboolean full)
> >
> > Why not keep grl_media_serialize() which would be a wrapper of a
> > grl_media_serialize_ex()
>
> Are you meaning having two serialization functions,
> grl_media_serialize() and grl_media_serialize_extended(), instead of one
> using the "full" parameter?
No.
I meant
grl_media_serialize(GrlMedia *media) {
grl_media_serialize_extended(media, TRUE);
}
grl_media_serialize(GrlMedia *media, gboolean full) {
...
}
grl_media_serialize should be the most used option by the users.
vmjl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]