summaryrefslogtreecommitdiffstats
path: root/src/extension/extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/extension.cpp')
-rw-r--r--src/extension/extension.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index 497f98431..9c0221521 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -33,6 +33,7 @@
#include "dependency.h"
#include "timer.h"
#include "param/parameter.h"
+#include "io/resource.h"
namespace Inkscape {
namespace Extension {
@@ -658,7 +659,7 @@ Extension::set_param_color (const gchar * name, guint32 color, SPDocument * doc,
void
Extension::error_file_open (void)
{
- gchar * ext_error_file = Inkscape::Application::profile_path(EXTENSION_ERROR_LOG_FILENAME);
+ gchar * ext_error_file = Inkscape::IO::Resource::log_path(EXTENSION_ERROR_LOG_FILENAME);
gchar * filename = g_filename_from_utf8( ext_error_file, -1, NULL, NULL, NULL );
error_file.open(filename);
if (!error_file.is_open()) {