r23210 - gnucash/trunk/src/gnome - Remove redundant call

Geert Janssens gjanssens at code.gnucash.org
Mon Oct 7 10:01:37 EDT 2013


Author: gjanssens
Date: 2013-10-07 10:01:35 -0400 (Mon, 07 Oct 2013)
New Revision: 23210
Trac: http://svn.gnucash.org/trac/changeset/23210

Modified:
   gnucash/trunk/src/gnome/top-level.c
Log:
Remove redundant call

Modified: gnucash/trunk/src/gnome/top-level.c
===================================================================
--- gnucash/trunk/src/gnome/top-level.c	2013-10-06 15:59:29 UTC (rev 23209)
+++ gnucash/trunk/src/gnome/top-level.c	2013-10-07 14:01:35 UTC (rev 23210)
@@ -435,9 +435,6 @@
                          gnc_restore_all_state, NULL);
     gnc_hook_add_dangler(HOOK_BOOK_CLOSED,
                          gnc_save_all_state, NULL);
-
-    /* CAS: I'm not really sure why we remove before adding. */
-    gnc_hook_remove_dangler(HOOK_BOOK_CLOSED, (GFunc)gnc_reports_flush_global);
     gnc_hook_add_dangler(HOOK_BOOK_CLOSED,
                          (GFunc)gnc_reports_flush_global, NULL);
 



More information about the gnucash-changes mailing list