[r23191]Fix leaking Gtkosxapplication objects.

Norbert Holze asterix52 at gmx.de
Wed Sep 25 12:09:25 EDT 2013


Hello!

With this change I have this (Ubuntu 13.10):

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/gnome-utils
-I../.. -I../../../src/core-utils -I../../../src/gnc-module
-I../../../src/engine -I../../../src/backend/xml
-I../../../src/app-utils -I../../../src -I../../src -I../../../lib/libc
-I../../../src/libqof/qof -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz
-pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/guile/2.0 -I../../src/libqof/qof
-I../../../src/libqof/qof -I/usr/include/libxml2
-DG_LOG_DOMAIN=\"gnc.gui\" -Wdeclaration-after-statement -g -O2 -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT
gnc-main-window.lo -MD -MP -MF .deps/gnc-main-window.Tpo -c
../../../src/gnome-utils/gnc-main-window.c  -fPIC -DPIC -o
.libs/gnc-main-window.o
../../../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


Regrads,

Norbert


More information about the gnucash-devel mailing list