GNOME Bugzilla – Bug 101834
Sawfish 1.2-gtk2 fails to build with latest GTK
Last modified: 2009-08-16 15:13:28 UTC
Attempting to build sawfish in Garnome 0.19.5 (against GTK 2.2.0) get the following error... gtk-style.c: In function `print_rc_style': gtk-style.c:101: structure has no member named `font_name' gtk-style.c:102: structure has no member named `font_name' gtk-style.c:103: structure has no member named `fontset_name' gtk-style.c:104: structure has no member named `fontset_name'
From a bug report on IRC, it seems that the problem code is protected by the following #ifdef: #if (GTK_MINOR_VERSION == 2) .... #endif This will match GTK 1.2, 2.2, 3.2, etc, which was probably not the intended behaviour. The check should probably something similar to the following: #if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
Yep, that works for me. Thanks James.
thanks, should be fixed in cvs now