complie error latest trunk - patch attached

J. Alex Aycinena alex.aycinena at gmail.com
Wed Nov 18 14:16:28 EST 2009


Herbert.

> From: Herbert Thoma <herbert.thoma at iis.fraunhofer.de>
> To: gnucash-devel <gnucash-devel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog-tax-info-patch
Type: application/octet-stream
Size: 1592 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20091118/826b95af/attachment.obj>


More information about the gnucash-devel mailing list