[gnome-games] application: Remove unused methods referencing old directories
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] application: Remove unused methods referencing old directories
- Date: Fri, 9 Aug 2019 13:38:53 +0000 (UTC)
commit 17d184602071e4f01d2b8cde7bd1dc22ba64302e
Author: Yetizone <andreii lisita gmail com>
Date: Sun Jun 2 20:15:32 2019 +0300
application: Remove unused methods referencing old directories
src/ui/application.vala | 21 ---------------------
1 file changed, 21 deletions(-)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 5e08c616..3795364d 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -86,20 +86,6 @@ public class Games.Application : Gtk.Application {
return @"$data_dir/gnome-games";
}
- // TODO: To be removed
- public static string get_saves_dir () {
- var data_dir = get_data_dir ();
-
- return @"$data_dir/saves";
- }
-
- // TODO: To be removed
- public static string get_snapshots_dir () {
- var data_dir = get_data_dir ();
-
- return @"$data_dir/snapshots";
- }
-
public static string get_database_path () {
var data_dir = get_data_dir ();
@@ -147,13 +133,6 @@ public class Games.Application : Gtk.Application {
}
}
- // TODO: To be removed
- public static string get_medias_dir () {
- var data_dir = get_data_dir ();
-
- return @"$data_dir/medias";
- }
-
public static bool is_running_in_flatpak () {
if (is_flatpak != null)
return is_flatpak;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]