Summary: | dev-util/anjuta-1.2.4-r1 crashes on startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ed Davison <edavison> |
Component: | [OLD] Development | Assignee: | Saleem Abdulrasool (RETIRED) <compnerd> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | 3kjm2, linuxblues, tjgq |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugzilla.gnome.org/show_bug.cgi?id=324572 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ed Davison
2006-04-05 09:25:04 UTC
This bug has been resolved: http://bugzilla.gnome.org/show_bug.cgi?id=324572 > Anjuta crashed in the function on_stock_selection_changed() in > anjuta-encodings.c . The function needs the member add_button in the structur > anjuta_encodings_dialog. The member is initialized in anjuta_encodings_init(). > > I don't understand the code completely but I can see that > on_stock_selection_changed() is called implicitely by gtk_tree_view_set_model() > in line 716 of anjuta-encodings.c some lines before add_button and the structure itself is initialized. > > I copied the lines: > > anjuta_encodings_dialog = g_new0 (AnjutaEncodingsDialog, 1); > anjuta_encodings_dialog->pref = pref; > anjuta_encodings_dialog->add_button = add_button; > anjuta_encodings_dialog->remove_button = remove_button; > anjuta_encodings_dialog->up_button = up_button; > anjuta_encodings_dialog->down_button = down_button; > anjuta_encodings_dialog->supported_treeview = supported_treeview; > anjuta_encodings_dialog->stock_treeview = stock_treeview; > > before the call to > gtk_tree_view_set_model (GTK_TREE_VIEW (stock_treeview), model); I recompiled and now Anjuta works well. Re-assign wrt Bug 171232 *** Bug 130491 has been marked as a duplicate of this bug. *** marking as INVALID as per comment #1 |