Re: clist mystery



Hello Markus, 

Thanks for your input.

On Wednesday 14 March 2001 09:19, Markus Lausser wrote:
On Wed, Mar 14, 2001 at 07:00:50AM -0500 Mike wrote:

HI.

I think the problem could be that Unix has a different way to store
more-dimensional array internally. The solution could be that you use a one
dimenional array: gchar* list_data[2];
btw. why using gchar* list_data[1][2];?


Actually I followed the code example which comes with the GTK+ code, they 
show allocating the arrays for a clist in that fashion. I never looked at the 
function prototype which does show it decalred as

gint gtk_clist_append(GtkCList *clist, gchar *text[ ])

However I have not had any problems in the past with that so I suspect the 
problem lies in some other area of my code. 

Regards,
Mike 




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