~ubuntu-branches/ubuntu/saucy/shotwell/saucy-proposed

« back to all changes in this revision

Viewing changes to src/DirectoryMonitor.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Alberto Mardegan
  • Date: 2013-03-19 19:34:19 UTC
  • mfrom: (1.2.18)
  • Revision ID: package-import@ubuntu.com-20130319193419-ed5bq7690j3c8pp1
Tags: 0.14.0-0ubuntu1
* New upstream version
* debian/control: drop leftover build-depends on libgnomevfs2-dev

[ Alberto Mardegan]
* debian/patches/06_uoa.patch: new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
507
507
    }
508
508
    
509
509
    protected virtual void internal_notify_file_discovered(File file, FileInfo info) {
510
 
        bool updated = files.update(file, info);
511
 
        assert(updated);
 
510
        if (!files.update(file, info)) {
 
511
            debug("DirectoryMonitor.internal_notify_file_discovered: %s discovered but not added to file map",
 
512
                file.get_path());
 
513
            
 
514
            return;
 
515
        }
512
516
        
513
517
        notify_file_discovered(file, info);
514
518
    }