Re: [evolution-patches] [PATCH]Bug # 58014: cannot add multiple participants for the same category in tasks
- From: Jeffrey Stedfast <fejj ximian com>
- To: Rodney Dawes <dobey ximian com>
- Cc: umeshtej <umeshtej gawab com>, evolution-patches lists ximian com
- Subject: Re: [evolution-patches] [PATCH]Bug # 58014: cannot add multiple participants for the same category in tasks
- Date: Thu, 06 May 2004 12:32:08 -0400
G_N_ELEMENTS() only works on static arrays, eg not dynamically created arrays.
but yea, he certainly doesn't need to run thru the loop twice.
Jeff
On Thu, 2004-05-06 at 12:28 -0400, Rodney Dawes wrote:
There's no reason to run through the loop twice, so you don't need to
count the elements first, since you aren't appending to the array and
doing reallocing. You can just do "for (i = 0; cards[i] != NULL; i++)"
instead. Aside from that, why does G_N_ELEMENTS (cards) not work?
-- dobey
On Mar , 2004-05-04 at 14:49 +0530, umeshtej wrote:
> This is a patch for bug #58014,which allows to add multiple participants
> for the same category while assigning tasks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]