• Michael Natterer's avatar
    app: make the LayerAddMaskDialog struct private · 41a64b7a
    Michael Natterer authored
    Instead, provide a custom GimpAddMaskCallback, connect to "response"
    internally and call the callback. Takes clutter out of layers-commands.c.
    Also attach the dialog to the layer so we don't show multiple add
    mask dialogs. Should do the same to all dialogs with public structs,
    the custom callback approach keep things more encapsulated.
layer-add-mask-dialog.c 7.89 KB