[folks/wip/nielsdg/fix-warnings: 3/5] tests/folks: Don't access static members with `this`



commit a161ec0278a9c7725b0a443117ba7dc0e5c74766
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue Apr 23 18:38:25 2019 +0200

    tests/folks: Don't access static members with `this`
    
    This fixes a valac warning.

 tests/folks/backend-loading.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/folks/backend-loading.vala b/tests/folks/backend-loading.vala
index a13ff86a..e85ecf79 100644
--- a/tests/folks/backend-loading.vala
+++ b/tests/folks/backend-loading.vala
@@ -40,7 +40,7 @@ public class BackendLoadingTests : TpfTest.MixedTestCase
 
       /* Use a temporary key file for the BackendStore */
       var kf_path = Path.build_filename (Environment.get_tmp_dir (),
-          this.STORE_FILE_PATH, null);
+          STORE_FILE_PATH, null);
 
       FileUtils.remove (kf_path);
 
@@ -70,7 +70,7 @@ public class BackendLoadingTests : TpfTest.MixedTestCase
   public override void tear_down ()
     {
       FileUtils.remove (Path.build_filename (Environment.get_tmp_dir (),
-          this.STORE_FILE_PATH, null));
+          STORE_FILE_PATH, null));
 
       base.tear_down ();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]