Bug#404241: qalculate-gtk bug: segfault when pressing twice

2007-01-17 Thread Niklas Knutsson
I have now come up with a better solution. I have attached a patch. --- src/callbacks.cc 2006-11-02 10:16:50.0 +0100 +++ src/callbacks.cc 2007-01-17 20:47:00.0 +0100 @@ -12890,12 +12890,11 @@ void on_unknown_edit_optionmenu_sign_cha } } -gboolean on_key_press_event(GtkWidget*,

Bug#404241: qalculate-gtk bug: segfault when pressing twice

2007-01-16 Thread Niklas Knutsson
Hi. I thought that I was not able to reproduce this bug, but discovered that it only occurs when qalculate-gtk is compiled with optimizations. qalculate-gtk does not only segfault when pressing Down twice, but whenever the expression entry has lost focus and tries to take it back when some inte