Re: Bug in GtkTreeView or programming bug?



On Wed, Sep 16, 2009 at 10:56 PM, Daniel Leidert
<daniel leidert spam gmx net> wrote:
Doh! Attached.

The program in the attachment tries to set the cursor on a path that
does not exist in the tree view.  This path does not exist in the
view, because the view is not connected to a model.  Because of this,
the call to gtk_tree_view_set_cursor() will print the assertion as an
invalid path has been provided.  And because
gtk_tree_view_set_cursor() failed to set the cursor,
gtk_tree_view_get_cursor() will return a NULL path.


regards,

-kris.



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