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

List:       gtk-app-devel
Subject:    Bug in GtkTreeView or programming bug?
From:       Daniel Leidert <daniel.leidert.spam () gmx ! net>
Date:       2009-09-14 20:00:34
Message-ID: 1252958434.4172.316.camel () leidi
[Download RAW message or body]

Hi,

In Debian the test suite of perl-gtk2 failed [1]. Examining the
situation a bit further it seems, that even after setting a cursor, the
reurned path from gtk_tree_view_get_cursor() is NULL. I tried to write s
short program to reproduce this in C (attached). When I run it get:

(<unknown>:11188): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell:
assertion `tree_view->priv->tree != NULL' failed

(<unknown>:11188): Gtk-CRITICAL **: gtk_tree_path_to_string: assertion
`path != NULL' failed

path=(null)

The latter points out, that the resulting path returned is NULL although
the cursor has been set earlier. I wonder if there is something wrong
with my test program (and the test in perl-gtk2) or if this points to a
bug in Gtk.

[1] http://bugs.debian.org/545616

TIA and regards, Daniel


_______________________________________________
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