[Gnucash-changes] r13866 - gnucash/trunk/src/gnome - Bug#334627 fix attempt 2: remove needless NULLing-out of SX.

Joshua Sled jsled at cvs.gnucash.org
Thu Apr 27 09:14:55 EDT 2006


Author: jsled
Date: 2006-04-27 09:14:54 -0400 (Thu, 27 Apr 2006)
New Revision: 13866
Trac: http://svn.gnucash.org/trac/changeset/13866

Modified:
   gnucash/trunk/src/gnome/dialog-scheduledxaction.c
Log:
Bug#334627 fix attempt 2: remove needless NULLing-out of SX.


Modified: gnucash/trunk/src/gnome/dialog-scheduledxaction.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2006-04-27 03:27:46 UTC (rev 13865)
+++ gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2006-04-27 13:14:54 UTC (rev 13866)
@@ -395,8 +395,6 @@
                 gnc_book_set_schedxactions( book, sxList );
                 sxed->newsxP = FALSE;
         }
-        // regardless, do this so the close handler won't complain.
-        sxed->sx = NULL;
 
         /* update lists */
         /* We now do this by getting the list of SX Lists and updating them
@@ -1494,8 +1492,7 @@
 
         gnc_register_gui_component( DIALOG_SCHEDXACTION_EDITOR_CM_CLASS,
                                     NULL, /* no refresh handler */
-                                    sxed_close_handler, /* file-static
-                                                           close handler */
+                                    sxed_close_handler,
                                     sxed );
 
         g_signal_connect( sxed->dialog, "close",



More information about the gnucash-changes mailing list