summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fc-list/fc-list.c5
-rw-r--r--fc-match/fc-match.c5
-rw-r--r--fc-pattern/fc-pattern.c5
-rw-r--r--fc-query/fc-query.c6
-rw-r--r--fc-scan/fc-scan.c6
5 files changed, 0 insertions, 27 deletions
diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c
index eb7b688c..5ad13331 100644
--- a/fc-list/fc-list.c
+++ b/fc-list/fc-list.c
@@ -136,11 +136,6 @@ main (int argc, char **argv)
i = 1;
#endif
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);
diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c
index 8ae8ee9c..260f4043 100644
--- a/fc-match/fc-match.c
+++ b/fc-match/fc-match.c
@@ -143,11 +143,6 @@ main (int argc, char **argv)
i = 1;
#endif
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);
diff --git a/fc-pattern/fc-pattern.c b/fc-pattern/fc-pattern.c
index 84eb1eea..3f066c1e 100644
--- a/fc-pattern/fc-pattern.c
+++ b/fc-pattern/fc-pattern.c
@@ -134,11 +134,6 @@ main (int argc, char **argv)
i = 1;
#endif
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
index 50bef40b..883e3031 100644
--- a/fc-query/fc-query.c
+++ b/fc-query/fc-query.c
@@ -136,12 +136,6 @@ main (int argc, char **argv)
if (i == argc)
usage (argv[0], 1);
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
-
for (; i < argc; i++)
{
int index;
diff --git a/fc-scan/fc-scan.c b/fc-scan/fc-scan.c
index c852e0d9..5638b51c 100644
--- a/fc-scan/fc-scan.c
+++ b/fc-scan/fc-scan.c
@@ -126,12 +126,6 @@ main (int argc, char **argv)
if (i == argc)
usage (argv[0], 1);
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
-
fs = FcFontSetCreate ();
for (; i < argc; i++)