Description of problem: Since that latest update of gtk2 applications created with lazarus run into an exception on close. Version-Release number of selected component (if applicable): gtk2-2.24.7-1.fc16.i686 lazarus-0.9.30-1.fc16.i686 fpc-2.4.2-2.fc15.i686 fpc-src-2.4.2-2.fc15.i686 How reproducible: allways Steps to Reproduce: 1. create a new application 2. start the application from terminal 3. close the application Actual results: The following error-message is raised: (bewerbungen:17621): Gtk-CRITICAL **: IA__gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed (bewerbungen:17621): Gtk-CRITICAL **: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed TApplication.HandleException Access violation Stack trace: $4F65EDD8 exception at 4F65EDD8: Access violation. ** GLib-GObject:ERROR:gsignal.c:711:emission_pop: code should not be reached Abgebrochen Expected results: The application should be closed without any exception Additional info: My application sourcecode hasn't been changed since at last one week so this can only be caused by the latest gtk2 update
When running the application inside of lazarus ide the error is caught at line 4727 of gtk2proc.inc
Fixed with gtk2-2.24.7-3