diff --git a/src/gnome-utils/gnc-main-window.c b/src/gnome-utils/gnc-main-window.c index 8e3eff294c..6acb7e870f 100644 --- a/src/gnome-utils/gnc-main-window.c +++ b/src/gnome-utils/gnc-main-window.c @@ -3689,6 +3689,7 @@ gnc_quartz_set_menu(GncMainWindow* window) g_signal_connect(theApp, "NSApplicationBlockTermination", G_CALLBACK(gnc_quartz_should_quit), window); gtkosx_application_set_use_quartz_accelerators (theApp, FALSE); + g_object_unref (theApp); } #endif //MAC_INTEGRATION @@ -4364,6 +4365,7 @@ gnc_main_window_show_all_windows(void) G_CALLBACK(gnc_quartz_shutdown), NULL); gtkosx_application_ready(theApp); #endif + g_object_unref (theApp); } /** Get a pointer to the first active top level window or NULL