Forum: Ruby-Gnome 2 Gtk-CRITICAL **:gtk_tree_row_reference_new_proxy: assertion `path->depth > 0' failed

Posted by Dobai-Pataky Bálint (Guest)
on 2010-05-13 10:23
(Received via mailing list)
hi,

I want to unset the cursor for a TreeView.
There is no method for it, i have to call
TreeView.set_cursor(Gtk::TreePath.new,nil,nil)
- according to 
http://library.gnome.org/devel/gtk/stable/GtkTreeView.html :
   - gtk_tree_view_set_cursor (): If path is invalid for model, the
current cursor (if any) will be unset and the function will return
without failing

this is true, it does unset the cursor, but prints this output on the
console:    Gtk-CRITICAL **:gtk_tree_row_reference_new_proxy: assertion
`path->depth > 0' failed
Thus i'm not sure if this is the right way for unsetting the cursor.
Anyone know the right way?

thanks
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.