(no subject)



hello, Im new to the list.

Ive been at this for god knows how long now, i get this no matter what i do, its right after i try to add elements to a list.


Gtk-CRITICAL **: file gtkwidget.c: line 3353 (gtk_widget_set_parent): assertion `widget->parent == NULL' failed.

code wheres it beserking

list_item = gtk_list_item_new_with_label(row[1]);
     gtk_widget_show(list_item);
     current_list = g_list_prepend(current_list,list_item);
     gtk_list_append_items(GTK_LIST(LIST), current_list);
     current_package[i]->id = atoi(row[0]);

take out the gtk_list_append_items(GTK_LIST(LIST), current_list); and it works without a hitch, with it i get gtk-critical. Thanx for any help you can offer

Charles

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





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