[r23191]Fix leaking Gtkosxapplication objects.

John Ralls jralls at ceridwen.us
Wed Sep 25 22:55:29 EDT 2013


On Sep 25, 2013, at 9:09 AM, Norbert Holze <asterix52 at gmx.de> wrote:

> Hello!
> 
> With this change I have this (Ubuntu 13.10):
[SNIP]
> ../../../src/gnome-utils/gnc-main-window.c: In function
> 'gnc_main_window_show_all_windows':
> ../../../src/gnome-utils/gnc-main-window.c:4368:21: error: 'theApp'
> undeclared (first use in this function)
>     g_object_unref (theApp);
>                     ^
> ../../../src/gnome-utils/gnc-main-window.c:4368:21: note: each
> undeclared identifier is reported only once for each function it appears in
> make[3]: *** [gnc-main-window.lo] Fehler 1

On Sep 25, 2013, at 6:15 PM, Alex Aycinena <alex.aycinena at gmail.com> wrote:

> John,
> 
> Doesn't build on Fedora 18 or 19:
> 
> In function 'gnc_main_window_show_all_windows':
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome-utils/gnc-main-window.c:4368:21:
> error: 'theApp' undeclared (first use in this function)
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome-utils/gnc-main-window.c:4368:21:
> note: each undeclared identifier is reported only once for each function it
> appears in
> make[4]: *** [gnc-main-window.lo] Error 1
> make[4]: Leaving directory
> `/home/gnucash-dev/svncheckouts/gnucash-clean-build/src/gnome-utils'

Sorry, got the g_object_unref on the wrong side of the #endif. Fixed in r23197/8.

Regards,
John Ralls




More information about the gnucash-devel mailing list