From 6a7e32e1b6bea253f6484136beaf21c3df0de535 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Tue, 18 Jun 2019 21:18:20 +0200 Subject: Initial code to fix --- src/io/resource.cpp | 2 +- src/io/resource.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/io') 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 get_filenames(Type type, -- cgit v1.2.3