r16102 - gnucash/trunk/src/gnome-utils - Unregister option dialogs from gui component list while destroying.

Andreas Köhler andi5 at cvs.gnucash.org
Sat May 19 19:19:47 EDT 2007


Author: andi5
Date: 2007-05-19 19:19:44 -0400 (Sat, 19 May 2007)
New Revision: 16102
Trac: http://svn.gnucash.org/trac/changeset/16102

Modified:
   gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
Unregister option dialogs from gui component list while destroying.


Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c	2007-05-19 23:19:39 UTC (rev 16101)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c	2007-05-19 23:19:44 UTC (rev 16102)
@@ -1485,6 +1485,8 @@
 {
   if (!win) return;
 
+  gnc_unregister_gui_component_by_data(DIALOG_OPTIONS_CM_CLASS, win);
+
   gtk_widget_destroy(win->dialog);
 
   if(win->tips) {



More information about the gnucash-changes mailing list