diff options
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: |
