Custom GTK2 tree store



Hi,
  Although the gtk 1.3.10 I have installed has not got -g by the looks
the functions leading up to the end are small enough to get some idea
of what is happening. 

>From my function, gtk_ferris_tree_store_iter_nth_child() is getting passed
a parent that != NULL and is not valid (the stamp is failing to validate).

This happens when clicking a cell other than the first one (which is also
the expander) in a opened tree view. I have not tested the first cell because
it is not editable currently.

Any ideas?

Current language:  auto; currently c++
(gdb) bt
#0  gtk_ferris_tree_store_iter_nth_child (tree_model=0x8180ad0, 
    iter=0xbfffec80, parent=0xbfffec90, n=0) at gtkferristreestore.cpp:486
#1  0x404df771 in gtk_tree_model_iter_nth_child () at eval.c:41
#2  0x404e0ba9 in gtk_tree_row_reference_new_proxy () at eval.c:41
#3  0x404fa402 in gtk_tree_view_set_reorderable () at eval.c:41
#4  0x404ee328 in gtk_tree_view_get_type () at eval.c:41
#5  0x4047d3fb in gtk_marshal_BOOLEAN__BOXED () at eval.c:41
#6  0x407cd787 in g_type_class_meta_marshal () at eval.c:41
#7  0x407cd32a in g_closure_invoke () at eval.c:41
#8  0x407e27fb in signal_emit_unlocked_R () at eval.c:41
#9  0x407e0bdd in g_signal_emit_valist () at eval.c:41
#10 0x404809c3 in gtk_signal_emit () at eval.c:41
#11 0x4050cb82 in gtk_widget_send_expose () at eval.c:41
#12 0x40445a60 in gtk_propagate_event () at eval.c:41
#13 0x4044476f in gtk_main_do_event () at eval.c:41
#14 0x405c32a3 in gdk_add_client_message_filter () at eval.c:41
#15 0x4082d393 in g_main_dispatch () from /usr/lib/libglib-1.3.so.10
#16 0x4082dd31 in g_main_context_dispatch () from /usr/lib/libglib-1.3.so.10
#17 0x4082e0f1 in g_main_context_iterate () from /usr/lib/libglib-1.3.so.10
#18 0x4082e830 in g_main_loop_run () from /usr/lib/libglib-1.3.so.10
#19 0x404440b3 in gtk_main () at eval.c:41
#20 0x0806c7d1 in main (argc=3, argv=0xbffff814) at Ego.cpp:153
#21 0x4090f507 in __libc_start_main (main=0x806c1c0 <main>, argc=3, 
---Type <return> to continue, or q <return> to quit---
    ubp_av=0xbffff814, init=0x806b1c8 <_init>, fini=0x8086340 <_fini>, 
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff80c)
    at ../sysdeps/generic/libc-start.c:129


-- 
-----------------------------------------------------
http://witme.sourceforge.net/libferris.web/index.html




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