[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Bug in GtkTreeView or programming bug?
From:       Kristian Rietveld <kris () gtk ! org>
Date:       2009-09-18 11:23:12
Message-ID: 5ab253e30909180423u67ee3390t866f205a80125e64 () mail ! gmail ! com
[Download RAW message or body]

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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic