diff options
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/application.vala | 2 | ||||
-rw-r--r-- | libdino/src/plugin/loader.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/application.vala b/libdino/src/application.vala index 9cabf0f4..99cef929 100644 --- a/libdino/src/application.vala +++ b/libdino/src/application.vala @@ -10,7 +10,7 @@ public class Dino.Application : Gtk.Application { public Application() throws Error { if (DirUtils.create_with_parents(get_storage_dir(), 0700) == -1) { - throw new Error(-1, 0, @"Could not create storage dir \"$(get_storage_dir())\": $(FileUtils.error_from_errno(errno))"); + throw new Error(-1, 0, "Could not create storage dir \"%s\": %s", get_storage_dir(), FileUtils.error_from_errno(errno).to_string()); } // FIXME: Legacy import diff --git a/libdino/src/plugin/loader.vala b/libdino/src/plugin/loader.vala index 8c633ef1..7497311d 100644 --- a/libdino/src/plugin/loader.vala +++ b/libdino/src/plugin/loader.vala @@ -59,7 +59,7 @@ public class Loader : Object { if (module != null) break; } if (module == null) { - throw new Error (-1, 1, Module.error ().replace(path, name)); + throw new Error (-1, 1, "%s", Module.error ().replace(path, name)); } void* function; |