void HandleDeleteVersionCommand (object obj, EventArgs args) { PhotoVersionCommands.Delete cmd = new PhotoVersionCommands.Delete (); cmd.Execute (db.Photos, CurrentPhoto, GetToplevel (null)); // if (cmd.Execute (db.Photos, CurrentPhoto, GetToplevel (null))) { // query.MarkChanged (ActiveIndex (), true, true); // } }
// XXX: never called void HandleDeleteVersionCommand (object obj, EventArgs args) { PhotoVersionCommands.Delete cmd = new PhotoVersionCommands.Delete (); cmd.Execute (Database.Photos, CurrentPhoto, GetToplevel (null)); }