diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-26 10:05:00 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-04-04 16:13:07 -0700 |
commit | 39391e428afd6c2a7cc9892d9c3f46f88b856996 (patch) | |
tree | 0961f9fea88f1f30eec18e6206cbfef683f03a36 /pango-view | |
parent | 81904127fe1107b6c0db4ce50c3d44cdf63b7f67 (diff) | |
download | pango-39391e428afd6c2a7cc9892d9c3f46f88b856996.tar.gz |
Kill unused pangorc file
Diffstat (limited to 'pango-view')
-rw-r--r-- | pango-view/Makefile.am | 9 | ||||
-rw-r--r-- | pango-view/viewer-render.c | 10 |
2 files changed, 2 insertions, 17 deletions
diff --git a/pango-view/Makefile.am b/pango-view/Makefile.am index 7b6e568f..66a08815 100644 --- a/pango-view/Makefile.am +++ b/pango-view/Makefile.am @@ -26,8 +26,6 @@ TEST_TEXTS = \ EXTRA_DIST = \ $(TEST_TEXTS) -CLEANFILES = pangorc - INCLUDES = \ -I$(top_srcdir) \ $(PANGO_DEBUG_FLAGS) \ @@ -80,7 +78,7 @@ endif MAINTAINERCLEANFILES = pango-view.1.in EXTRA_DIST += pango-view.1.in -CLEANFILES += pango-view.1 +CLEANFILES = pango-view.1 nodist_man_MANS = pango-view.1 @@ -100,9 +98,4 @@ pango-view.1: pango-view$(EXEEXT) ######################################################### -BUILT_SOURCES = pangorc - -pangorc: $(srcdir)/../modules/pangorc - cp $(srcdir)/../modules/pangorc $@ - -include $(top_srcdir)/git.mk 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); } |