GNOME Bugzilla – Bug 572406
Applications crashes if Accessibility support is enabled
Last modified: 2011-01-20 07:01:44 UTC
Steps to reproduce: 1. Wrote a simple programs GTK+/C that uses GtkTreeView widget. 2. The applications that I developed contains two GtkTreeView widgets(one in the left and another in the right). In between these two widgets there are two buttons - Forward and Backward. If forward button is clicked the selected item from the left tree should move to the right tree and vice-versa. 3. If accessibility support is not enabled it works properly, but if accesssibility support is enabled the application quits, showing the following error message: ** ERROR **: file gailtreeview.c: line 3755 (traverse_cells): assertion failed: (row_path != NULL) aborting... Aborted Stack trace: void forward_button_clicked(GtkWidget *widget,gpointer data) { model=gtk_tree_view_get_model(GTK_TREE_VIEW(available_treeview)); if(gtk_tree_selection_get_selected(sel, &model, &iter)) //if(gtk_tree_selection_get_selected(sel, &available_liststore, &iter)) { gchar *names; gtk_list_store_append(selected_liststore,&iter1); gtk_tree_model_get(GTK_TREE_MODEL(available_liststore), &iter, 0, &names, -1); gtk_list_store_set(selected_liststore, &iter1,0, names,-1); gtk_list_store_remove(GTK_LIST_STORE(model), &iter); } else { gtk_widget_set_sensitive(GTK_WIDGET(forward_button),FALSE); } gtk_tree_view_set_model(GTK_TREE_VIEW(selected_treeview),GTK_TREE_MODEL(selected_liststore)); } Other information:
Is this a duplicate of bug #512743?
(In reply to comment #1) > Is this a duplicate of bug #512743? > i am getting the same error
Can you try Gtk+ 2.15.0 or later to see if this bug is still reproducible?