diff options
| author | Ted Gould <ted@gould.cx> | 2008-04-26 04:22:42 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2008-04-26 04:22:42 +0000 |
| commit | e90c2cad99eabd6f02978f4e2666a1fa228e93c9 (patch) | |
| tree | 925f14d7c206dc2d9e411d809c1f7cfc72e85899 /src/extension/init.cpp | |
| parent | Documentation, always more :) (diff) | |
| download | inkscape-e90c2cad99eabd6f02978f4e2666a1fa228e93c9.tar.gz inkscape-e90c2cad99eabd6f02978f4e2666a1fa228e93c9.zip | |
r19136@shi: ted | 2008-04-24 19:44:01 -0700
Basis for reading filters out of SVG files in system and personal directories.
r19137@shi: ted | 2008-04-24 20:45:27 -0700
Removing a TODO
r19138@shi: ted | 2008-04-24 20:55:50 -0700
Filling this out some. Now we're looking through the files and finding
the filters in it.
r19139@shi: ted | 2008-04-24 22:07:55 -0700
Changing to build filename, really amazing that it's worked before.
r19140@shi: ted | 2008-04-24 22:43:57 -0700
My own crazy writer. Output streams are stupid C++-isms. char * works just fine.
r19154@shi: ted | 2008-04-24 22:56:05 -0700
Cleaning up the XML transfer. Pretty happy with it now.
r19155@shi: ted | 2008-04-24 23:00:11 -0700
Don't need to set up that string for translation because it's getting
placed inside a structure that gets thrown gettext already.
r19156@shi: ted | 2008-04-25 17:12:40 -0700
OMG! Stacking seems to be working. Now it's very easy to test the cooling on your CPU using Inkscape. That's going to have to be a feature in the release notes.
r19166@shi: ted | 2008-04-25 21:00:34 -0700
Adding in filter-file.cpp
(bzr r5522)
Diffstat (limited to 'src/extension/init.cpp')
| -rw-r--r-- | src/extension/init.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extension/init.cpp b/src/extension/init.cpp index a1d88d7ec..649a65471 100644 --- a/src/extension/init.cpp +++ b/src/extension/init.cpp @@ -320,7 +320,6 @@ build_module_from_dir(gchar const *dirname) gchar *filename; while ((filename = (gchar *)g_dir_read_name(directory)) != NULL) { - if (strlen(filename) < strlen(SP_MODULE_EXTENSION)) { continue; } @@ -329,12 +328,14 @@ build_module_from_dir(gchar const *dirname) continue; } - gchar *pathname = g_strdup_printf("%s/%s", dirname, filename); + gchar *pathname = g_build_filename(dirname, filename, NULL); build_from_file(pathname); g_free(pathname); } g_dir_close(directory); + + return; } |
