diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-13 01:47:46 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-13 01:47:46 +0000 |
| commit | 787df6d8f28e96d5af65f71bbb20ffb49da9fe9a (patch) | |
| tree | e5b632b125895b6937901a952266e27cdd0e5a49 /src/extension/dependency.cpp | |
| parent | update (diff) | |
| download | inkscape-787df6d8f28e96d5af65f71bbb20ffb49da9fe9a.tar.gz inkscape-787df6d8f28e96d5af65f71bbb20ffb49da9fe9a.zip | |
Remove last remnants of ancient plugin support. Tidy up acinclude.m4.
(bzr r7278)
Diffstat (limited to 'src/extension/dependency.cpp')
| -rw-r--r-- | src/extension/dependency.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index de656201c..a83cac88d 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -26,7 +26,6 @@ gchar const * Dependency::_type_str[] = { "executable", "file", "extension", - "plugin", }; // These strings are for XML attribute comparisons and should not be translated @@ -101,10 +100,6 @@ Dependency::~Dependency (void) looked up in the database. If the extension is found, and it is not deactivated, the dependency passes. - If the type is \c TYPE_PLUGIN then the path for the plugin is found - using the Glib::Module routines. When the path is found, then there - is a check to see if the file exists using the \c file_test function. - If the type is \c TYPE_EXECUTABLE or \c TYPE_FILE things are getting even more interesting because now the \c _location variable is also taken into account. First, the difference between the two is that @@ -138,16 +133,6 @@ Dependency::check (void) const if (myext->deactivated()) return FALSE; break; } - case TYPE_PLUGIN: { - if (!Glib::Module::get_supported()) { - return FALSE; - } - - std::string path = Glib::Module::build_path(INKSCAPE_PLUGINDIR, _string); - if (!Glib::file_test(path, Glib::FILE_TEST_EXISTS)) - return FALSE; - break; - } case TYPE_EXECUTABLE: case TYPE_FILE: { Glib::FileTest filetest = Glib::FILE_TEST_EXISTS; |
