To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=43283 Issue #:|43283 Summary:|bogus errors on exit Component:|gsl Version:|680m79 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|PATCH Priority:|P4 Subcomponent:|code Assigned to:|pl Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Mon Feb 21 14:10:59 -0800 2005 ------- If you init VCL but create no widgets this spews irritating warnings at exit eg. (gal:29358): Gtk-CRITICAL **: file gtkwidget.c: line 1911 (gtk_widget_destroy): assertion `GTK_IS_WIDGET (widget)' failed (gal:29358): Gtk-CRITICAL **: file gtkwidget.c: line 1911 (gtk_widget_destroy): assertion `GTK_IS_WIDGET (widget)' failed trivial patch: diff -u -p -u -r1.10 salnativewidgets-gtk.cxx --- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx 31 Jan 2005 09:20:23 -0000 1.10 +++ vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx 21 Feb 2005 22:10:33 -0000 @@ -408,8 +408,10 @@ void GtkData::deInitNWF( void ) // free up global widgets // gtk_widget_destroy will in turn destroy the child hierarchy // so only destroy disjunct hierachies - gtk_widget_destroy( gCacheWindow ); - gtk_widget_destroy( gMenuWidget ); + if( gCacheWindow ) + gtk_widget_destroy( gCacheWindow ); + if( gMenuWidget ) + gtk_widget_destroy( gMenuWidget ); delete pWidgetMutex; delete gNWPixmapCacheList; --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]