Re: tests broken in head of cvs

On Wed, 2003-08-27 at 21:07, Ross McFarland wrote:
Redhat 9.0, Gtk2.2, etc. this is with head of cvs.

(24.GtkTreeView.t:27118): Gtk-CRITICAL **: file gtktreeview.c: line 9753
(gtk_tree_view_set_cursor_on_cell): assertion `column_in_tree' failed
t/24.GtkTreeView..........NOK 102#     Failed test (t/24.GtkTreeView.t
at line 307)
#          got: undef
#     expected: 'Gtk2::TreeViewColumn=HASH(0x8286870)'
t/24.GtkTreeView..........ok 166/166# Looks like you failed 1 tests of
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 102
        Failed 1/166 tests, 99.40% okay

those tests are new to me. if no one else (their original author looks
in to them eventually i will, but for the time being i'd prefer not to
have to.

it's a problem with the get_cursor call which apparently is only
implemented in >= 2.2. the view column is coming back undef rather than
the expected $view_column. i'm not familiar with those facilities of
GtkTreeView so i don't really know if the code is correct in the first
place. the xs code for the function looks right at first glance. the
warning "assertion `column_in_tree' failed" seems be a key piece of
info. i tried moving that section of code below the one following it
which seem to me would be at a position after which the column was in
the tree, but that didn't help. 


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