From 1e01dfa808b405d312f82e3a771c18c56674d13f Mon Sep 17 00:00:00 2001 From: sgranjoux Date: Thu, 27 Sep 2007 17:42:12 +0000 Subject: [PATCH] * plugins/debug-manager/plugin.c: Fix bug#480851, disconnect save_session signal when plugin is unloaded git-svn-id: http://svn.gnome.org/svn/anjuta/trunk@3182 1dbfb86a-d425-0410-a06b-cb591aac69f6 --- ChangeLog | 5 +++++ plugins/debug-manager/plugin.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index d37911f0..fe7bc6ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-27 Sebastien Granjoux + + * plugins/debug-manager/plugin.c: + Fix bug#480851, disconnect save_session signal when plugin is unloaded + 2007-09-27 Johannes Schmid * libanjuta/interfaces/libanjuta.idl: diff --git a/plugins/debug-manager/plugin.c b/plugins/debug-manager/plugin.c index 94594f3a..910ca187 100644 --- a/plugins/debug-manager/plugin.c +++ b/plugins/debug-manager/plugin.c @@ -1172,12 +1172,14 @@ dma_plugin_deactivate (AnjutaPlugin* plugin) /* Stop debugger */ dma_plugin_debugger_stopped (this, 0); + g_signal_handlers_disconnect_by_func (this, G_CALLBACK (on_session_save), plugin); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_debugger_started), NULL); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_debugger_stopped), NULL); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_program_loaded), NULL); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_program_running), NULL); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_program_stopped), NULL); g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_program_moved), NULL); + g_signal_handlers_disconnect_by_func (this, G_CALLBACK (dma_plugin_signal_received), NULL); dma_debugger_queue_free (this->queue); this->queue = NULL; -- 2.11.4.GIT