After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101834 - Sawfish 1.2-gtk2 fails to build with latest GTK
Sawfish 1.2-gtk2 fails to build with latest GTK
Status: RESOLVED FIXED
Product: Sawfish
Classification: Deprecated
Component: General
pre-1.3.x
Other other
: Normal normal
: 1.5.x
Assigned To: John Harper
sawfish QA Team
Depends on:
Blocks:
 
 
Reported: 2002-12-23 03:43 UTC by Steve Smith
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Steve Smith 2002-12-23 03:43: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'
Comment 1 James Henstridge 2002-12-23 09:02:14 UTC
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
Comment 2 Steve Smith 2002-12-23 09:35:36 UTC
Yep, that works for me.  Thanks James.
Comment 3 John Harper 2002-12-24 22:45:40 UTC
thanks, should be fixed in cvs now