Bug 703272 - list of windows in Windows menu outdated

Only set the menu once per window!
When combined with fixing the autorelease pool problem of Byg 698334,
the window menu now behaves correctly.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23098 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls
2013-07-06 22:16:07 +00:00
parent 5126d49141
commit f1e77948e5

View File

@@ -4228,9 +4228,6 @@ gnc_main_window_show_all_windows(void)
for (window_iter = active_windows; window_iter != NULL; window_iter = window_iter->next)
{
gtk_widget_show(GTK_WIDGET(window_iter->data));
#ifdef MAC_INTEGRATION
gnc_quartz_set_menu(window_iter->data);
#endif
}
#ifdef MAC_INTEGRATION
g_signal_connect(theApp, "NSApplicationWillTerminate",