Revision: 1735 http://geany.svn.sourceforge.net/geany/?rev=1735&view=rev Author: ntrel Date: 2007-07-23 09:06:07 -0700 (Mon, 23 Jul 2007)
Log Message: ----------- Fix warning.
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/htmlchars.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-07-23 15:41:08 UTC (rev 1734) +++ trunk/ChangeLog 2007-07-23 16:06:07 UTC (rev 1735) @@ -12,6 +12,8 @@ Destroy plugin_fields->menu_item on unloading if set by a plugin. Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by other modules, and to help detect unresolved symbols at loading time. + * plugins/htmlchars.c: + Fix warning.
2007-07-23 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/plugins/htmlchars.c =================================================================== --- trunk/plugins/htmlchars.c 2007-07-23 15:41:08 UTC (rev 1734) +++ trunk/plugins/htmlchars.c 2007-07-23 16:06:07 UTC (rev 1735) @@ -530,7 +530,8 @@ /* Destroy static widgets */ void cleanup() { - gtk_widget_destroy(sc_dialog); + if (sc_dialog != NULL) + gtk_widget_destroy(sc_dialog); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.