summaryrefslogtreecommitdiff
path: root/src/PhotoPage.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/PhotoPage.vala')
-rw-r--r--src/PhotoPage.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PhotoPage.vala b/src/PhotoPage.vala
index ce57c2f..0e14aab 100644
--- a/src/PhotoPage.vala
+++ b/src/PhotoPage.vala
@@ -3125,7 +3125,7 @@ public class LibraryPhotoPage : EditingHostPage {
private void on_flag_unflag() {
if (has_photo()) {
- Gee.ArrayList<DataSource> photo_list = new Gee.ArrayList<DataSource>();
+ var photo_list = new Gee.ArrayList<MediaSource>();
photo_list.add(get_photo());
get_command_manager().execute(new FlagUnflagCommand(photo_list,
!((LibraryPhoto) get_photo()).is_flagged()));