There appears to be a bug in the gtk_ctree_node_get_text function when a
GtkCTree is defined with only one column. More specifically, this statement
in gtk_ctree_node_get_text() will return 0 when column = 0.
if (column < 0 || column >= GTK_CLIST (ctree)->columns)
return 0;
Others have used the GTK_CELL_TEXT macro to resolve this bug when the
ctree_select_row signal is used (see below).
void
ctree_tree_select_row(GtkCTree *ctree,
GList *node,
gint column,
gpointer user_data)
{
gchar *text = NULL;
text = GTK_CELL_TEXT (GTK_CTREE_ROW (node)->row.cell[column])->text;
}
Is this bug going to be fixed in the next release of Gtk+?
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel