diff --git a/src/gnome-utils/gnc-main-window.c b/src/gnome-utils/gnc-main-window.c index 8640d6d5f7..2a4439ef1c 100644 --- a/src/gnome-utils/gnc-main-window.c +++ b/src/gnome-utils/gnc-main-window.c @@ -4083,8 +4083,8 @@ gnc_main_window_show_all_windows(void) g_signal_connect(theApp, "NSApplicationWillTerminate", G_CALLBACK(gnc_quartz_shutdown), NULL); gtkosx_application_ready(theApp); -#endif g_object_unref (theApp); +#endif } /** Get a pointer to the first active top level window or NULL