]> Pileus Git - ~andy/gtk/commitdiff
Guard the FC_HINT_STYLE stuff with an #ifdef, so we still build with most
authorManish Singh <yosh@gimp.org>
Sun, 22 Feb 2004 03:15:45 +0000 (03:15 +0000)
committerManish Singh <yosh@src.gnome.org>
Sun, 22 Feb 2004 03:15:45 +0000 (03:15 +0000)
Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
        stuff with an #ifdef, so we still build with most fontconfig versions.

        * configure.in: Bump the fontconfig version requirement down to 1.0.1,
        to match pango (probably isn't needed at all, but doesn't hurt).

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtksettings.c

index 3f56e15c4d3e26a79ab0d0c3b4cac5ad6f7be5f2..49af18656797f761e4006b668e33f6b31f13d59b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
+       stuff with an #ifdef, so we still build with most fontconfig versions.
+
+       * configure.in: Bump the fontconfig version requirement down to 1.0.1,
+       to match pango (probably isn't needed at all, but doesn't hurt).
+
 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaction.c: (gtk_action_finalize):
index 3f56e15c4d3e26a79ab0d0c3b4cac5ad6f7be5f2..49af18656797f761e4006b668e33f6b31f13d59b 100644 (file)
@@ -1,3 +1,11 @@
+Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
+       stuff with an #ifdef, so we still build with most fontconfig versions.
+
+       * configure.in: Bump the fontconfig version requirement down to 1.0.1,
+       to match pango (probably isn't needed at all, but doesn't hurt).
+
 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaction.c: (gtk_action_finalize):
index 3f56e15c4d3e26a79ab0d0c3b4cac5ad6f7be5f2..49af18656797f761e4006b668e33f6b31f13d59b 100644 (file)
@@ -1,3 +1,11 @@
+Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
+       stuff with an #ifdef, so we still build with most fontconfig versions.
+
+       * configure.in: Bump the fontconfig version requirement down to 1.0.1,
+       to match pango (probably isn't needed at all, but doesn't hurt).
+
 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaction.c: (gtk_action_finalize):
index 3f56e15c4d3e26a79ab0d0c3b4cac5ad6f7be5f2..49af18656797f761e4006b668e33f6b31f13d59b 100644 (file)
@@ -1,3 +1,11 @@
+Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
+       stuff with an #ifdef, so we still build with most fontconfig versions.
+
+       * configure.in: Bump the fontconfig version requirement down to 1.0.1,
+       to match pango (probably isn't needed at all, but doesn't hurt).
+
 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaction.c: (gtk_action_finalize):
index 3f56e15c4d3e26a79ab0d0c3b4cac5ad6f7be5f2..49af18656797f761e4006b668e33f6b31f13d59b 100644 (file)
@@ -1,3 +1,11 @@
+Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
+       stuff with an #ifdef, so we still build with most fontconfig versions.
+
+       * configure.in: Bump the fontconfig version requirement down to 1.0.1,
+       to match pango (probably isn't needed at all, but doesn't hurt).
+
 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkaction.c: (gtk_action_finalize):
index ab7623f489978188e02bec6c8334d5e487f5207f..a0421a412e00a0f36dc591ba77fa48e4ee73c953 100644 (file)
@@ -153,7 +153,8 @@ gtk_default_substitute (FcPattern *pattern,
   if (hinting >= 0 &&
       FcPatternGet (pattern, FC_HINTING, 0, &v) == FcResultNoMatch)
     FcPatternAddBool (pattern, FC_HINTING, hinting != 0);
-  
+#ifdef FC_HINT_STYLE 
   if (hintstyle && FcPatternGet (pattern, FC_HINT_STYLE, 0, &v) == FcResultNoMatch)
     {
       int val = FC_HINT_FULL;  /* Quiet GCC */
@@ -173,6 +174,7 @@ gtk_default_substitute (FcPattern *pattern,
       if (found)
        FcPatternAddInteger (pattern, FC_HINT_STYLE, val);
     }
+#endif /* FC_HINT_STYLE */
 
   if (rgba && FcPatternGet (pattern, FC_RGBA, 0, &v) == FcResultNoMatch)
     {