summaryrefslogtreecommitdiffstats
path: root/src/preferences.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
commit69ae98cb453849c6d32a1c7ea8bc057fb13deea3 (patch)
tree6defcecd267d9757d9667367541d00d07c2a5e40 /src/preferences.cpp
parentfix bug introduced in rev. 13403 (merge with trunk) (diff)
downloadinkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.tar.gz
inkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.zip
1. make it compile
(bzr r13341.5.1)
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r--src/preferences.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp
index d0c3783b5..ede60c686 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -91,11 +91,11 @@ Preferences::Preferences() :
_hasError(false)
{
// profile_path essentailly returns the argument prefixed by the profile directory.
- gchar *path = profile_path(NULL);
+ gchar *path = INKSCAPE->profile_path(NULL);
_prefs_dir = path;
g_free(path);
- path = profile_path(_prefs_basename.c_str());
+ path = INKSCAPE->profile_path(_prefs_basename.c_str());
_prefs_filename = path;
g_free(path);
@@ -155,7 +155,7 @@ void Preferences::_load()
// create some subdirectories for user stuff
char const *user_dirs[] = {"keys", "templates", "icons", "extensions", "palettes", NULL};
for (int i=0; user_dirs[i]; ++i) {
- char *dir = profile_path(user_dirs[i]);
+ char *dir = INKSCAPE->profile_path(user_dirs[i]);
g_mkdir(dir, 0755);
g_free(dir);
}