Fixes a bug in last commit -- app won't close if no metadata was auto-committed.
Fixes a bug in last commit -- app won't close if no metadata was auto-committed.


jof/shotwell,ritchiewilson/shotwell,ritchiewilson/shotwell,abrauchli/shotwell,Sanva/shotwell-gsoc,damianmoore/shotwell,Sanva/shotwell-gsoc,jimbonator/shotwell,damianmoore/shotwell,jimbonator/shotwell,polymeris/shotwell,h4ck3rm1k3/shotwell,jof/shotwell,ritchiewilson/shotwell,abrauchli/shotwell,polymeris/shotwell,jimbonator/shotwell,Sanva/shotwell-gsoc,abrauchli/shotwell,h4ck3rm1k3/shotwell,h4ck3rm1k3/shotwell,polymeris/shotwell,jof/shotwell,damianmoore/shotwell