>>> I have a treeview/treestore containing many top-level rows.  Each 
>>> top-level row contains many children.  The treeview works fine except 
>>> for one thing.  If the user expands a top-level row, selects a child, 
>>> and then collapses that row the program seg faults with the console 
>>> error:
>>>
>>> gtk_tree_store_get_value: assertion `iter->stamp == GTK_TREE_STORE 
>>> (tree_model)->stamp' failed
>>> gtype.c:3351: type id `0' is invalid
>>> can't peek value table for type `<invalid>' which is not currently 
>>> referenced

>> void
>> TeamSelected2 (GtkTreeSelection *selection) {
>>      GtkTreeModel *model;
>>      GtkTreePath *path;
>>      GtkTreeIter iter;
>>      gint sub, row_count, x;
>>      gchar *teamname, path_str[10] = " ";
>>      gboolean valid;
>>
>>      gtk_tree_selection_get_selected (selection, &model, &iter);

> The gtk_tree_selection_get_selected() api returns TRUE is something is
> selected.  You never checked its return value!

That's the ticket!  I appreciate your help.

-- 
Marshall Lake -- [EMAIL PROTECTED] -- http://mlake.net
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to