evolution r36816 - trunk/e-util
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36816 - trunk/e-util
- Date: Thu, 27 Nov 2008 12:59:25 +0000 (UTC)
Author: mcrha
Date: Thu Nov 27 12:59:25 2008
New Revision: 36816
URL: http://svn.gnome.org/viewvc/evolution?rev=36816&view=rev
Log:
2008-11-27 Milan Crha <mcrha redhat com>
** Fix for bug #332729
* e-config.c: (ep_finalise): Disconnect handlers on the widget before
freeing the structure it is using.
Modified:
trunk/e-util/ChangeLog
trunk/e-util/e-config.c
Modified: trunk/e-util/e-config.c
==============================================================================
--- trunk/e-util/e-config.c (original)
+++ trunk/e-util/e-config.c Thu Nov 27 12:59:25 2008
@@ -122,6 +122,10 @@
}
while ( (wn = (struct _widget_node *)e_dlist_remhead(&p->widgets)) ) {
+ /* disconnect the gtk_widget_destroyed function from the widget */
+ if (wn->widget)
+ g_signal_handlers_disconnect_matched (wn->widget, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, &wn->widget);
+
g_free(wn);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]