[Gtk-sharp-list] gtktreeselection failed on multiple
20 Feb 2003 19:16:55 -0800
On Thu, 2003-02-20 at 19:08, George Farris wrote:
> 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.
Never mind. I see in the gtk docs that get_selected can't be used for
George Farris <firstname.lastname@example.org>