Herbert. > From: Herbert Thoma <herbert.th...@iis.fraunhofer.de> > To: gnucash-devel <gnucash-devel@gnucash.org> > Date: Wed, 18 Nov 2009 13:56:05 +0100 > Subject: Re: complie error latest trunk > Herbert Thoma schrieb: >> Hi! >> >> I get the following error when compiling r18419: >> >> <...> >> cc1: warnings being treated as errors >> dialog-tax-info.c: In function ‘identity_edit_clicked_cb’: >> dialog-tax-info.c:1083: error: implicit declaration of function >> ‘gtk_dialog_get_content_area’ >> dialog-tax-info.c:1083: error: assignment makes pointer from integer without >> a cast >> make[4]: *** [dialog-tax-info.lo] Fehler 1 >> make[4]: Leaving directory >> `/home/tma/gnucash/gnucash_cvs/gnucash_work/src/gnome >> <...> >> >> OS: openSUSE 11.0 (X86-64) >> GTK: 2.12.9 > > I did a `grep gtk_dialog_get_content_area` in /usr/include/gtk-2.0/gtk > and did not find gtk_dialog_get_content_area. > > So I guess the simple answer is: "upgrade to a newer gtk", but I would like > to avoid this, openSUSE 11.0 is not _that_ old after all ... > > Herbert. > --
‘gtk_dialog_get_content_area’ is from GTK version 2.14. The attached patch uses the prior '(GTK_DIALOG(dialog)->vbox)' in place of 'gtk_dialog_get_content_area (GTK_DIALOG (dialog))' and compiled successfully on my GTK version 2.16 and the application operated properly. I would be grateful if someone would apply it to trunk for me. Regards, Alex
dialog-tax-info-patch
Description: Binary data
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel