c-koi / gmic-qt

G'MIC-Qt is a versatile front-end to the image processing framework G'MIC.
GNU General Public License v3.0
206 stars 53 forks source link

Fix calls to gmic interpreter using simplified API of run(). #170

Closed dtschump closed 1 year ago

dtschump commented 1 year ago

I've simplified the API of gmic::run(), by removing the need for arguments p_progress and p_is_abort (only passed through the constructors now). This fixes the compilation of the plug-in with this simplified G'MIC API.

dtschump commented 1 year ago

I realize that passing &_gmicProgress and &_gmicAbort should be done at the construction of the gmic instance. Could you please see where it should be added? Thx!

c-koi commented 1 year ago

Done in a single commit (207f1a81d79ef6c97dcb353b470c3c9f4ece9959)