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

Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins

that use signals when quitting (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1809 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst c00de9cd
2007-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
that use signals when quitting (thanks).
2007-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2007-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c: * src/msgwindow.c:
......
...@@ -450,13 +450,13 @@ void plugins_init() ...@@ -450,13 +450,13 @@ void plugins_init()
void plugins_free() void plugins_free()
{ {
g_object_unref(geany_object);
if (plugin_list != NULL) if (plugin_list != NULL)
{ {
g_list_foreach(plugin_list, (GFunc) plugin_free, NULL); g_list_foreach(plugin_list, (GFunc) plugin_free, NULL);
g_list_free(plugin_list); g_list_free(plugin_list);
} }
g_object_unref(geany_object);
} }
......
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