~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/Core/Main.vala

  • Committer: Tony George
  • Date: 2017-01-15 10:41:41 UTC
  • Revision ID: tony.george.kol@gmail.com-20170115104141-rdwx9pbgmvic9tbp
BTRFS: Fixed an issue where SnapshotRepo was initialized incorrectly

Show diffs side-by-side

added added

removed removed

Lines of Context:
3493
3493
 
3494
3494
        // btrfs
3495
3495
 
3496
 
        public void query_subvolume_info(){
 
3496
        public void query_subvolume_info(SnapshotRepo parent_repo){
3497
3497
 
 
3498
                // SnapshotRepo contructor calls this code in load_snapshots()
 
3499
                // save the new object reference to App.repo since repo still holds previous object
 
3500
                repo = parent_repo; 
 
3501
                
3498
3502
                if ((repo == null) || !repo.btrfs_mode){
3499
3503
                        return;
3500
3504
                }