r23191 - gnucash/trunk/src/gnome-utils - Fix leaking Gtkosxapplication objects.
John Ralls
jralls at code.gnucash.org
Tue Sep 24 16:11:11 EDT 2013
Author: jralls
Date: 2013-09-24 16:11:11 -0400 (Tue, 24 Sep 2013)
New Revision: 23191
Trac: http://svn.gnucash.org/trac/changeset/23191
Modified:
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Fix leaking Gtkosxapplication objects.
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2013-09-22 00:56:23 UTC (rev 23190)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2013-09-24 20:11:11 UTC (rev 23191)
@@ -3689,6 +3689,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
@@ -4364,6 +4365,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