Problems with gtk-rs

The compilation errors were due to the old version of the rust compiler I was using. Anyway the segmentation fault problem remains if I destroy the dialogs.