Revision: 1733 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1733&view=re... Author: colombanw Date: 2010-11-08 18:36:38 +0000 (Mon, 08 Nov 2010)
Log Message: ----------- WebHelper: Avoid possible use of destroyed object on GwhBrowser destruction
Modified Paths: -------------- trunk/geany-plugins/webhelper/src/gwh-browser.c
Modified: trunk/geany-plugins/webhelper/src/gwh-browser.c =================================================================== --- trunk/geany-plugins/webhelper/src/gwh-browser.c 2010-11-08 16:33:38 UTC (rev 1732) +++ trunk/geany-plugins/webhelper/src/gwh-browser.c 2010-11-08 18:36:38 UTC (rev 1733) @@ -562,6 +562,9 @@ g_signal_handlers_disconnect_matched (self->priv->web_view, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, self); + g_signal_handlers_disconnect_matched (self->priv->settings, + G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, + self); /* also destroy the window, since it has no parent that will tell it to die */ gtk_widget_destroy (self->priv->inspector_window);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.