summaryrefslogtreecommitdiff
path: root/src/AppDirs.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
commitcb612a12b952e349b96d427645aaeb55d15f509a (patch)
treef29298f41d2a7ea2a976616243aca64c2c2547ce /src/AppDirs.vala
parente7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff)
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'src/AppDirs.vala')
-rw-r--r--src/AppDirs.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AppDirs.vala b/src/AppDirs.vala
index ecd375d..94be26b 100644
--- a/src/AppDirs.vala
+++ b/src/AppDirs.vala
@@ -295,20 +295,20 @@ class AppDirs {
public static File get_thumbnailer_bin() {
const string filename = "shotwell-video-thumbnailer";
- File f = File.new_for_path(AppDirs.get_libexec_dir().get_path() + "/thumbnailer/" + filename);
+ File f = AppDirs.get_libexec_dir().get_child("thumbnailer").get_child (filename);
if (!f.query_exists()) {
// If we're running installed.
- f = File.new_for_path(AppDirs.get_libexec_dir().get_path() + "/" + filename);
+ f = AppDirs.get_libexec_dir () .get_child ("shotwell").get_child (filename);
}
return f;
}
public static File get_settings_migrator_bin() {
const string filename = "shotwell-settings-migrator";
- File f = File.new_for_path(AppDirs.get_libexec_dir().get_path() + "/settings-migrator/" + filename);
+ File f = AppDirs.get_libexec_dir().get_child ("settings-migrator").get_child (filename);
if (!f.query_exists()) {
// If we're running installed.
- f = File.new_for_path(AppDirs.get_libexec_dir().get_path() + "/" + filename);
+ f = AppDirs.get_libexec_dir () .get_child ("shotwell").get_child (filename);
}
return f;
}