Christian Riggenbach wrote:
> hi
> 
> whenever i click on the button in the gtk-hid to change the units of the 
> board, it produces a segfault. after debugging and searching, i found the 
> problem: "action = gtk_action_group_get_action 
> (ghidgui->main_actions, "ToggleGridUnitsMm");" returns  NULL.
> 
> i solved it by simply removing the two 
> instructions "gtk_action_group_get_action" and "gtk_toggle_action_set_active" 
> from "src/hid/gtk/gui-top-window.c" in the functions "grid_units_button_cb" 
> and "ghid_init_toggle_states". in the function "ghid_init_toggle_states" it 
> don't cause a segfault when you don't remove it.
> 
> the problem is now that the button don't stick pressed anymore, but i think 
> it 
> isn't so important.

fixed.  Thanks for catching this.  This was some fallout from the 
conversion to the user menus that I missed.

-Dan



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to