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

gEDA-dev: segfault on changing the units of the pcb



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.

-- 

my kind regards

Christian Riggenbach

This is a digitally signed message part.



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev