[Gnucash-changes] remove commented out cruddy code

Linas Vepstas linas at cvs.gnucash.org
Sat Jul 3 11:19:20 EDT 2004


Log Message:
-----------
remove commented out cruddy code

Modified Files:
--------------
    gnucash/src/engine:
        Transaction.c

Revision Data
-------------
Index: Transaction.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Transaction.c,v
retrieving revision 1.311
retrieving revision 1.312
diff -Lsrc/engine/Transaction.c -Lsrc/engine/Transaction.c -u -r1.311 -r1.312
--- src/engine/Transaction.c
+++ src/engine/Transaction.c
@@ -680,7 +680,6 @@
 
   SET_GAINS_A_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 void 
@@ -697,7 +696,6 @@
 
   SET_GAINS_A_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 void 
@@ -713,7 +711,6 @@
 
   SET_GAINS_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 void 
@@ -745,7 +742,6 @@
 
   SET_GAINS_A_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 
@@ -761,7 +757,6 @@
 
   SET_GAINS_ADIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 
@@ -777,7 +772,6 @@
 
   SET_GAINS_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 /********************************************************************\
@@ -1271,7 +1265,6 @@
 
   SET_GAINS_A_VDIRTY(s);
   mark_split (s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 gnc_numeric
@@ -1452,7 +1445,6 @@
   }
 
   mark_trans (trans);
-  /* gen_event_trans (trans);  No! only in TransCommit() ! */
 }
 
 /********************************************************************\
@@ -2342,7 +2334,6 @@
     
     *dadate = val;
     mark_trans(trans);
-    /* gen_event_trans (trans);  No! only in TransCommit() ! */
 
    /* Because the date has changed, we need to make sure that each of
     * the splits is properly ordered in each of their accounts. We
@@ -2678,7 +2669,6 @@
    tmp = g_cache_insert(gnc_engine_get_string_cache(), (gpointer) memo);
    g_cache_remove(gnc_engine_get_string_cache(), split->memo);
    split->memo = tmp;
-   /* gen_event (split);  No! only in TransCommit() ! */
 }
 
 void
@@ -2691,7 +2681,6 @@
    tmp = g_cache_insert(gnc_engine_get_string_cache(), (gpointer) actn);
    g_cache_remove(gnc_engine_get_string_cache(), split->action);
    split->action = tmp;
-   /* gen_event (split);  No! only in TransCommit() ! */
 }
 
 void
@@ -2720,7 +2709,6 @@
      split->reconciled = recn;
      mark_split (split);
      xaccAccountRecomputeBalance (account);
-     /* gen_event (split);  No! only in TransCommit() ! */
    }
 }
 
@@ -2732,7 +2720,6 @@
 
    split->date_reconciled.tv_sec = secs;
    split->date_reconciled.tv_nsec = 0;
-   /* gen_event (split);  No! only in TransCommit() ! */
 }
 
 void
@@ -2742,7 +2729,6 @@
    check_open (split->parent);
 
    split->date_reconciled = *ts;
-   /* gen_event (split);  No! only in TransCommit() ! */
 }
 
 void
@@ -2878,7 +2864,6 @@
   kvp_frame_set_str(s->kvp_data, "split-type", "stock-split");
   SET_GAINS_VDIRTY(s);
   mark_split(s);
-  /* gen_event (s);  No! only in TransCommit() ! */
 }
 
 


More information about the gnucash-changes mailing list