diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-18 19:18:20 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-07-08 21:01:34 +0000 |
| commit | 6a7e32e1b6bea253f6484136beaf21c3df0de535 (patch) | |
| tree | 3c95f52c150518add2b9e5d2a1d786e78b40f19d /src/io | |
| parent | Display spiro pen preview right after backspace (diff) | |
| download | inkscape-6a7e32e1b6bea253f6484136beaf21c3df0de535.tar.gz inkscape-6a7e32e1b6bea253f6484136beaf21c3df0de535.zip | |
Initial code to fix
Diffstat (limited to 'src/io')
| -rw-r--r-- | src/io/resource.cpp | 2 | ||||
| -rw-r--r-- | src/io/resource.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp index 5a15b02f3..e65bfce1c 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -141,7 +141,7 @@ Glib::ustring get_path_ustring(Domain domain, Type type, char const *filename) * localized - Prefer a localized version of the file, i.e. default.de.svg instead of default.svg. * (will use gettext to determine the preferred language of the user) */ -Glib::ustring get_filename(Type type, char const *filename, bool localized) +Glib::ustring get_filename(Type type, char const *filename, bool localized, bool silent) { Glib::ustring result; diff --git a/src/io/resource.h b/src/io/resource.h index b1b78dbcc..e2f15c142 100644 --- a/src/io/resource.h +++ b/src/io/resource.h @@ -59,7 +59,7 @@ Util::ptr_shared get_path(Domain domain, Type type, Glib::ustring get_path_ustring(Domain domain, Type type, char const *filename=nullptr); -Glib::ustring get_filename(Type type, char const *filename, bool localized = false); +Glib::ustring get_filename(Type type, char const *filename, bool localized = false, bool silent = false); Glib::ustring get_filename(Glib::ustring path, Glib::ustring filename); std::vector<Glib::ustring> get_filenames(Type type, |
