Re: About the new camel_pstring_add implementation

Jeffrey Stedfast <[email protected]>
Newsgroups gmane.comp.gnome.evolution.devel
Message-ID <1152713852.20636.9.camel__34199.1381756545$1152717865$gmane$org@linux.site>
On Sun, 2006-07-09 at 13:04 +0200, Philip Van Hoof wrote:
> These can be replaced with the new camel_pstring_add using FALSE as
> parameter. Replacing them will also remove the need for the normal
> camel_pstring_strdup and therefore also remove the need for the gboolean
> own parameter of camel_pstring_add.

that's not actually true... the 'own' paramwter will still be required
(I should probably rename that to 'take' or something tho, might make
that clearer)

> 
> camel-folder-summary.c: to->subject = camel_pstring_strdup(from->subject);
> camel-folder-summary.c: to->from = camel_pstring_strdup(from->from);
> camel-folder-summary.c: to->to = camel_pstring_strdup(from->to);
> camel-folder-summary.c: to->cc = camel_pstring_strdup(from->cc);
> camel-folder-summary.c: to->mlist = camel_pstring_strdup(from->mlist);
> 
-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
[email protected]  - www.novell.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.