diff options
| author | Moritz Eberl <moritz@semiodesk.com> | 2016-04-27 07:29:21 +0000 |
|---|---|---|
| committer | Moritz Eberl <moritz@semiodesk.com> | 2016-04-27 07:29:21 +0000 |
| commit | b8136b3cdbb75028e9eb815e69b735695453d70f (patch) | |
| tree | 09a44c034b7255fc8ad121a7c0e864415db0065e /src/extension/loader.h | |
| parent | Correct enumeration names. (diff) | |
| download | inkscape-b8136b3cdbb75028e9eb815e69b735695453d70f.tar.gz inkscape-b8136b3cdbb75028e9eb815e69b735695453d70f.zip | |
Fixed path resolution in plugin loader.
(bzr r14862.1.1)
Diffstat (limited to 'src/extension/loader.h')
| -rw-r--r-- | src/extension/loader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/loader.h b/src/extension/loader.h index 5d48bf861..0d3a69061 100644 --- a/src/extension/loader.h +++ b/src/extension/loader.h @@ -31,7 +31,7 @@ public: * * @param dir is the path where the plugin should be loaded from. */ - void set_base_directory(const gchar *dir) { + void set_base_directory(std::string dir) { _baseDirectory = dir; } @@ -51,7 +51,7 @@ public: Implementation::Implementation *load_implementation(Inkscape::XML::Document *doc); private: - const gchar *_baseDirectory; /**< The base directory to load a plugin from */ + std::string _baseDirectory; /**< The base directory to load a plugin from */ }; @@ -70,4 +70,4 @@ private: fill-column:99 End: */ -// vim:filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99:
\ No newline at end of file +// vim:filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99: |
