summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd2cb0d)
raw | patch | inline | side by side (parent: cd2cb0d)
author | Ted Gould <ted@canonical.com> | |
Fri, 6 Jun 2008 16:26:17 +0000 (09:26 -0700) | ||
committer | Ted Gould <ted@canonical.com> | |
Fri, 6 Jun 2008 16:26:17 +0000 (09:26 -0700) |
src/extension/internal/filter/filter-file.cpp | patch | blob | history | |
src/extension/internal/filter/filter.h | patch | blob | history |
diff --git a/src/extension/internal/filter/filter-file.cpp b/src/extension/internal/filter/filter-file.cpp
index 2448eded9d0a4f7ed0f05555c97445373228876f..857c01a1c47bd1b77b3468cd8fbc5d5f58ebba3c 100644 (file)
void
Filter::filters_all_files (void)
{
- filters_load_dir((gchar *)INKSCAPE_FILTERDIR, _("Bundled"));
+ filters_load_dir(INKSCAPE_FILTERDIR, _("Bundled"));
filters_load_dir(profile_path("filters"), _("Personal"));
return;
#define INKSCAPE_FILTER_FILE ".svg"
void
-Filter::filters_load_dir (gchar * dirname, gchar * menuname)
+Filter::filters_load_dir (gchar const * dirname, gchar * menuname)
{
if (!dirname) {
g_warning(_("Null external module directory name. Filters will not be loaded."));
index 28924988de66c001292c5340a480f061de6624b4..05fdcc4cdf1510fdca93c58a6309fc9d7c4dcaf5 100644 (file)
/* File loader related */
static void filters_all_files(void);
- static void filters_load_dir(gchar * filename, gchar * menuname);
+ static void filters_load_dir(gchar const * filename, gchar * menuname);
static void filters_load_file(gchar * filename, gchar * menuname);
static void filters_load_node(Inkscape::XML::Node * node, gchar * menuname);