Fix for sawfish



[I originally sent this to the list admin address. Duh.]

Hi all,

Sawfish doesn't build as-is under garnome-0.19.5.  The problem is
outlined at http://bugzilla.gnome.org/show_bug.cgi?id=101834, but in
short the fix is:

diff -u -w --recursive sawfish-1.2-gtk2.orig/src/gtk-style.c sawfish-1.2-gtk2/src/gtk-style.c
--- sawfish-1.2-gtk2.orig/src/gtk-style.c       2002-01-11 06:29:21.000000000 +1100
+++ sawfish-1.2-gtk2/src/gtk-style.c    2002-12-23 21:04:58.000000000 +1100
@@ -97,7 +97,7 @@
 {
 /* If GTK_MINOR_VERSION is not 2 we are using gtk+ 1.3.x or 2.0
    so these two members are no more */
-#if (GTK_MINOR_VERSION == 2)
+#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
     if (rc->font_name != 0)
        printf ("(font . \"%s\")\n", rc->font_name);
     if (rc->fontset_name != 0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]