Closes #4747, corrects an issue where a DirectPhoto would try to get its dimensions from the wrong place.
Closes #4747, corrects an issue where a DirectPhoto would try to get its dimensions from the wrong place.

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