GtkTreeSelection error msgs.



 Folks,

 Is there a function I can call to notify the View of changes on the Model so
that I can get rid of these messages ?

" (table_example:16493): Gtk-CRITICAL **: file gtktreeselection.c: line 491
(gtk_tree_selection_selected_foreach): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect. "


 What I am doing is deleting rows on the GtkTreeList inside the call to the
foreachFunc on   gtk_tree_selection_selected_foreach.

  -- Note: I coudl get way with:
   1) Iterate through all nodes (rows)
   2) if selected -- remove node --

 But I think that this is very impractical and slow -- 


Thanks in advance.
      


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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