Yeah my actual code has char *text[3]; . However I do not think I am
using the gtk_clist_find_row_from_data() function properly, anyone have an
example?
On Wed, 8 Dec 1999, Alan Wigginton wrote:
> The text array is declared with only 2 entries. This will be the problem
> assuming this is the actual code and not a typo in the post.
>
>
> Paul Cardwell wrote:
>
> > .
> > char *text[2]; <======= This should be text[3]
> >
> > text[0]="daffy"; /* Ok I should malloc these ;) */
> > text[1]="duck";
> > text[2]="rules";
> >
> > row = gtk_clist_find_row_from_data(GTK_CLIST(mylist), (gpointer) text);
> >
> > This is assuming the data is already in the columned list.
>
> --
> To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null