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

« back to all changes in this revision

Viewing changes to src/core/SourceHoldingTank.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:
164
164
    
165
165
    // This is only called by DataSource
166
166
    public void internal_notify_altered(DataSource source, Alteration alteration) {
167
 
        assert(tank.contains(source));
 
167
        if (!tank.contains(source)) {
 
168
            debug("SourceHoldingTank.internal_notify_altered called for %s not stored in %s",
 
169
                source.to_string(), to_string());
 
170
            
 
171
            return;
 
172
        }
168
173
        
169
174
        // see if it should stay put
170
175
        if (check_to_keep(source, alteration))
196
201
        
197
202
        sources.relink_many(copy);
198
203
    }
 
204
    
 
205
    public string to_string() {
 
206
        return "SourceHoldingTank @ 0x%p".printf(this);
 
207
    }
199
208
}
200
209