On Sat, May 19, 2007 at 07:19:47PM -0400, Andreas Köhler wrote:
> 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.
>
FYI, this fixes a crasher introduced by r15976. r15976 was backported
to to the 2.0 branch, in case we were to ever release a 2.0.6.
However, this commit wasn't marked for backport. So, we should either
backport this, or just decide not to do anymore releases from the 2.0
branch.
-chris
>
> 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) {
>
> _______________________________________________
> gnucash-changes mailing list
> [EMAIL PROTECTED]
> https://lists.gnucash.org/mailman/listinfo/gnucash-changes
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel