r23193 - gnucash/branches/2.4/src/gnome-utils - [r23191]Fix leaking Gtkosxapplication objects.
John Ralls
jralls at code.gnucash.org
Tue Sep 24 16:32:11 EDT 2013
Author: jralls
Date: 2013-09-24 16:32:11 -0400 (Tue, 24 Sep 2013)
New Revision: 23193
Trac: http://svn.gnucash.org/trac/changeset/23193
Modified:
gnucash/branches/2.4/src/gnome-utils/gnc-main-window.c
Log:
[r23191]Fix leaking Gtkosxapplication objects.
Modified: gnucash/branches/2.4/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/gnc-main-window.c 2013-09-24 20:11:24 UTC (rev 23192)
+++ gnucash/branches/2.4/src/gnome-utils/gnc-main-window.c 2013-09-24 20:32:11 UTC (rev 23193)
@@ -3459,6 +3459,7 @@
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
@@ -4083,6 +4084,7 @@
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
More information about the gnucash-changes
mailing list