summaryrefslogtreecommitdiff
path: root/pango-view/viewer-render.c
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2014-07-26 10:05:00 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2014-07-26 11:26:46 +0200
commit1faa9e0afbfed9d9d794d1aca54ac74cb3ecb9df (patch)
treec2d22b2a313c6d88c4cde202db0d9b09064fde09 /pango-view/viewer-render.c
parentf7e3a706e0fd5498f4dc5fc3c505f6a1fe2a9e75 (diff)
downloadpango-1faa9e0afbfed9d9d794d1aca54ac74cb3ecb9df.tar.gz
Kill unused pangorc filekill-dynamic-modules
Diffstat (limited to 'pango-view/viewer-render.c')
-rw-r--r--pango-view/viewer-render.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/pango-view/viewer-render.c b/pango-view/viewer-render.c
index 8e3cc7f8..47bb960e 100644
--- a/pango-view/viewer-render.c
+++ b/pango-view/viewer-render.c
@@ -714,7 +714,7 @@ parse_options (int argc, char *argv[])
{"output", 'o', 0, G_OPTION_ARG_STRING, &opt_output,
"Save rendered image to output file", "file"},
{"pangorc", 0, 0, G_OPTION_ARG_STRING, &opt_pangorc,
- "pangorc file to use (default is ./pangorc)", "file"},
+ "Deprecated", "file"},
{"pixels", 0, 0, G_OPTION_ARG_NONE, &opt_pixels,
"Use pixel units instead of points (sets dpi to 72)", NULL},
{"rtl", 0, 0, G_OPTION_ARG_NONE, &opt_rtl,
@@ -812,14 +812,6 @@ parse_options (int argc, char *argv[])
if (opt_markup &&
!pango_parse_markup (text, -1, 0, NULL, NULL, NULL, &error))
fail ("Cannot parse input as markup: %s", error->message);
-
- /* Setup PANGO_RC_FILE
- */
- if (!opt_pangorc)
- if (g_file_test ("./pangorc", G_FILE_TEST_IS_REGULAR))
- opt_pangorc = "./pangorc";
- if (opt_pangorc)
- g_setenv ("PANGO_RC_FILE", opt_pangorc, TRUE);
}