[Gtk-sharp-list] gtktreeselection failed on multiple

George Farris george@gmsys.com
20 Feb 2003 19:08:03 -0800


If I have a treeview and a liststore and set selections to multiple, I
get this error from the "changed" signal handler when calling
treeview.Selection.GetSelected(out model, ref iter))

Anyone know if this is a bug?  It seems to be the way the C version
works, call this and then call SelectedForeach.

(:6258): Gtk-CRITICAL **: file gtktreeselection.c: line 362
(gtk_tree_selection_get_selected): assertion `selection->type !=
GTK_SELECTION_MULTIPLE' failed


If selections are set to single everything works fine.

-- 
George Farris <george@gmsys.com>