Re r19406: implicit declaration of function ‘gtk_widget_set_can_default’
Geert Janssens
janssens-geert at telenet.be
Fri Aug 6 04:29:52 EDT 2010
On Friday 6 August 2010, Frank H. Ellenberger wrote:
> Hi Geert,
>
> I get the following error message:
>
> dialog-utils.c: In function ‘gnc_gtk_dialog_add_button’:
> dialog-utils.c:922: error: implicit declaration of
> function ‘gtk_widget_set_can_default’
> make[5]: *** [dialog-utils.lo] Fehler 1
>
> Looks like a missing header file or an outdated gtk-lib.
> openSUSE 11.1 (x86_64)
> gtk2 2.14.4
> gtk 1.2.10
>
> Frank
>
Thanks for pointing that out.
gnc_gtk_dialog_add_button is apparently introduced in gtk+ 2.18, so it should
not have been used here. I have replaced it with a call to g_object_set.
Geert
More information about the gnucash-devel
mailing list