summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:08:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:08:42 +0000
commit0c67c166ce5fb0e447b5c957e9222610d9d0c559 (patch)
treed10c904aed7d23568444776bda67b76cd574b36f /src/main.cpp
parentAdded kaleidoscope mode (diff)
parentLatvian translation update (diff)
downloadinkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.tar.gz
inkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.zip
update to trunk
(bzr r13708.1.18)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 06c0d4873..415118407 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -52,7 +52,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "gc-core.h"
+#include "inkgc/gc-core.h"
#ifdef AND
#undef AND
@@ -1722,15 +1722,11 @@ static int do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const* mime)
}
if (sp_export_text_to_path) {
- (*i)->set_param_bool("textToPath", TRUE);
+ (*i)->set_param_optiongroup("textToPath", "paths");
+ } else if (sp_export_latex) {
+ (*i)->set_param_optiongroup("textToPath", "LaTeX");
} else {
- (*i)->set_param_bool("textToPath", FALSE);
- }
-
- if (sp_export_latex) {
- (*i)->set_param_bool("textToLaTeX", TRUE);
- } else {
- (*i)->set_param_bool("textToLaTeX", FALSE);
+ (*i)->set_param_optiongroup("textToPath", "embed");
}
if (sp_export_ignore_filters) {