summaryrefslogtreecommitdiffstats
path: root/src/extension/system.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-10-15 18:03:44 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-10-15 21:56:31 +0000
commit5e4db64162efe64935c2f4a1b4525ff14c42b91d (patch)
tree998aebed100549fe5b27491f948a3375daf66e1a /src/extension/system.h
parentAdd checkboxes in flip menu options (diff)
downloadinkscape-5e4db64162efe64935c2f4a1b4525ff14c42b91d.tar.gz
inkscape-5e4db64162efe64935c2f4a1b4525ff14c42b91d.zip
Extensions: Do not even attempt to register incompatible extensions
This improves the fix for https://bugs.launchpad.net/inkscape/+bug/1307554 Also fixes a potential crashing issue when an .inx includes invalid XML.
Diffstat (limited to 'src/extension/system.h')
-rw-r--r--src/extension/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/system.h b/src/extension/system.h
index 456f1721e..ea70a0f4f 100644
--- a/src/extension/system.h
+++ b/src/extension/system.h
@@ -50,8 +50,8 @@ void save(Extension *key, SPDocument *doc, gchar const *filename,
bool setextension, bool check_overwrite, bool official,
Inkscape::Extension::FileSaveMethod save_method);
Print *get_print(gchar const *key);
-Extension *build_from_file(gchar const *filename);
-Extension *build_from_mem(gchar const *buffer, Implementation::Implementation *in_imp);
+void build_from_file(gchar const *filename);
+void build_from_mem(gchar const *buffer, Implementation::Implementation *in_imp);
/**
* Determine the desired default file extension depending on the given file save method.