Skip to content

Commit

Permalink
Remove redundant call
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23210 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
gjanssens committed Oct 7, 2013
1 parent cf5c848 commit a050fcf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gnome/top-level.c
Expand Up @@ -435,9 +435,6 @@ gnc_main_gui_init (void)
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);

Expand Down

0 comments on commit a050fcf

Please sign in to comment.