complie error latest trunk - patch attached

Christian Stimming stimming at tuhh.de
Sun Nov 22 15:06:51 EST 2009


Am Mittwoch, 18. November 2009 schrieb J. Alex Aycinena:
> > 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.

Applied to trunk, r18433. Thanks a lot!

(Note: You could have left the newer function in use but #ifdef'd on the newer 
gtk version, so that only the older gtk will get the '(GTK_DIALOG(dialog)-
>vbox)'  instead. But never mind.)

Regards,

Christian


More information about the gnucash-devel mailing list