Kaydet (Commit) a2ea943f authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix warning.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1735 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 109a7aee
......@@ -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>
......
......@@ -530,7 +530,8 @@ void init(PluginData *data)
/* Destroy static widgets */
void cleanup()
{
gtk_widget_destroy(sc_dialog);
if (sc_dialog != NULL)
gtk_widget_destroy(sc_dialog);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment