fontconfig: Branch 'master'

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


 test/test-bz89617.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04763135d47ae24a808fc15c4482e2bb6f847ab9
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Wed Nov 25 11:58:14 2015 +0900

    Avoid an error message on testing when no fonts.conf installed
    This test case doesn't require any config files so no need to ensure loading them.

diff --git a/test/test-bz89617.c b/test/test-bz89617.c
index 587214a..35df885 100644
--- a/test/test-bz89617.c
+++ b/test/test-bz89617.c
@@ -28,7 +28,7 @@
 main (void)
-    FcConfig *config = FcConfigGetCurrent ();
+    FcConfig *config = FcConfigCreate ();
     if (!FcConfigAppFontAddFile (config, (const FcChar8 *)SRCDIR "/4x6.pcf") ||
 	FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null"))
Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux