Migrate to new boxing functions in metadata_view.c#19107
Migrate to new boxing functions in metadata_view.c#19107victoryforce wants to merge 3 commits intodarktable-org:masterfrom
Conversation
|
At the moment of course this change is obviously correct (since it just refactors the call to However, the intention of #18273 was to eventually allow replacing that I would suggest using |
|
#19118 now adds such a check. |
|
@victoryforce #19118 includes the two cases of container_add adressed here. Are you OK with the approach taken there? If so, maybe you could remove the first commit from this PR and leave just the code reformatting (which is the largest part of the work done here anyway). |
|
Hi @victoryforce are you planning on rebasing this and removing the first commit or have you lost interest and should this be closed? |
Hi @dterrahe Sorry, I'm responding late. To be more precise, it's not that I've lost interest, but real life has been pretty tough on me lately, so I've started dropping cycles and even losing the energy (both physical and mental) to do anything sometimes... So, yes, this should be closed and I will close it now. Sorry to jump into this without any real help. |
This PR is one of the steps towards completing the transition to new boxing/layouting functions, which was started by @dterrahe in #18273. I hope to find time to continue this conversion in our code, although I don't plan to complete it myself without help from others (these are simple changes but there are just a lot of them).
Code reformatting in this source file was also piggybacked into the PR.
The last commit adds specific formatting for the expression in the "if" for better readability. That formatting doesn't follow our established style, but it does make it much clearer to me in that expression. So this commit can be removed if such style is controversial.