summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/template-load-tab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/template-load-tab.h')
-rw-r--r--src/ui/dialog/template-load-tab.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/dialog/template-load-tab.h b/src/ui/dialog/template-load-tab.h
index cdf8a0ade..744a2a9fb 100644
--- a/src/ui/dialog/template-load-tab.h
+++ b/src/ui/dialog/template-load-tab.h
@@ -18,6 +18,7 @@
#include <gtkmm/treeview.h>
#include <map>
#include <set>
+#include <string>
#include "xml/node.h"
#include "extension/effect.h"
@@ -35,7 +36,7 @@ public:
struct TemplateData
{
bool is_procedural;
- Glib::ustring path;
+ std::string path;
Glib::ustring display_name;
Glib::ustring author;
Glib::ustring short_description;
@@ -64,7 +65,7 @@ protected:
Glib::ustring _current_keyword;
Glib::ustring _current_template;
- Glib::ustring _loading_path;
+ std::string _loading_path;
std::map<Glib::ustring, TemplateData> _tdata;
std::set<Glib::ustring> _keywords;
@@ -97,9 +98,9 @@ private:
void _getDataFromNode(Inkscape::XML::Node *, TemplateData &);
void _getProceduralTemplates();
- void _getTemplatesFromDir(const Glib::ustring &);
+ void _getTemplatesFromDir(const std::string &);
void _keywordSelected();
- TemplateData _processTemplateFile(const Glib::ustring &);
+ TemplateData _processTemplateFile(const std::string &);
};
}