complie error latest trunk - patch attached

Herbert Thoma herbert.thoma at iis.fraunhofer.de
Thu Nov 19 05:07:58 EST 2009


J. Alex Aycinena schrieb:
>>> 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 ...
<...>
> ‘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.

I applied your patch to my local copy and it fixed my problem.
So it should be applied to SVN trunk.

Thanks a lot!

 Herbert.

> Regards,
> 
> Alex

-- 
Herbert Thoma
Dipl.-Ing., MBA
Head of Video Group
Multimedia Realtime Systems Department
Fraunhofer IIS
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-6130
Fax:   +49-9131-776-6099
email: tma at iis.fhg.de
www: http://www.iis.fhg.de/


More information about the gnucash-devel mailing list