More odd behaviour in a clist...

I have 2 different clists, one that is 2 colums, one that is 3.  They each
have a button whose callback removes the selected row from the list.  Both
callbacks are identical in regards to the gtk calls.  One of these
callbacks crashes when removing the last row in the list, the other one

Here's a nice little backtrace...

#0  draw_rows (clist=0x80a7de8, area=0x0) at gtkclist.c:5957
#1  0x40052e43 in real_remove_row (clist=0x80a7de8, row=0) at 
#2  0x400528a8 in gtk_clist_remove (clist=0x80a7de8, row=0) at 
#3  0x80532c6 in add_remtrack_button_clicked (button=0x80a1d40,
user_data=0x0) at callbacks.c:252

The line it is crashing on is:

  gtk_clist_remove (GTK_CLIST (add_file_list), add_file_list_row);

What could be going on here?



Leeman Strout

Systems Engineer
ETC Support

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