• Michael Natterer's avatar
    Bug 791519 - Unexpected selection from channel · 3f95dc52
    Michael Natterer authored
    Make sure a channel -> selection -> channel roundtrip never does any
    gamma conversion.
    
    In gimp_channel_duplicate(), make sure a created channel has the
    right format, and the right data. Fixes selection -> channel.
    
    When switching off quick mask, call gimp_item_to_selection() instead
    if gimp_selection_load(), the latter was implementing a shortcut which
    is now wrong.
    
    Remove gimp_selection_load() which is now unused.
    
    Unrelated: also remove gimp_selection_save(), it was an obvious
    3-liner used only twice.
    3f95dc52
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
core-enums.c Loading commit data...
core-enums.h Loading commit data...
core-types.h Loading commit data...
gimp-batch.c Loading commit data...
gimp-batch.h Loading commit data...
gimp-cairo.c Loading commit data...
gimp-cairo.h Loading commit data...
gimp-contexts.c Loading commit data...
gimp-contexts.h Loading commit data...
gimp-data-factories.c Loading commit data...
gimp-data-factories.h Loading commit data...
gimp-edit.c Loading commit data...
gimp-edit.h Loading commit data...
gimp-filter-history.c Loading commit data...
gimp-filter-history.h Loading commit data...
gimp-gradients.c Loading commit data...
gimp-gradients.h Loading commit data...
gimp-gui.c Loading commit data...
gimp-gui.h Loading commit data...
gimp-internal-data.c Loading commit data...
gimp-internal-data.h Loading commit data...
gimp-memsize.c Loading commit data...
gimp-memsize.h Loading commit data...
gimp-modules.c Loading commit data...
gimp-modules.h Loading commit data...
gimp-palettes.c Loading commit data...
gimp-palettes.h Loading commit data...
gimp-parallel.cc Loading commit data...
gimp-parallel.h Loading commit data...
gimp-parasites.c Loading commit data...
gimp-parasites.h Loading commit data...
gimp-spawn.c Loading commit data...
gimp-spawn.h Loading commit data...
gimp-tags.c Loading commit data...
gimp-tags.h Loading commit data...
gimp-templates.c Loading commit data...
gimp-templates.h Loading commit data...
gimp-transform-resize.c Loading commit data...
gimp-transform-resize.h Loading commit data...
gimp-transform-utils.c Loading commit data...
gimp-transform-utils.h Loading commit data...
gimp-units.c Loading commit data...
gimp-units.h Loading commit data...
gimp-user-install.c Loading commit data...
gimp-user-install.h Loading commit data...
gimp-utils.c Loading commit data...
gimp-utils.h Loading commit data...
gimp.c Loading commit data...
gimp.h Loading commit data...
gimpbezierdesc.c Loading commit data...
gimpbezierdesc.h Loading commit data...
gimpboundary.c Loading commit data...
gimpboundary.h Loading commit data...
gimpbrush-boundary.c Loading commit data...
gimpbrush-boundary.h Loading commit data...
gimpbrush-header.h Loading commit data...
gimpbrush-load.c Loading commit data...
gimpbrush-load.h Loading commit data...
gimpbrush-private.h Loading commit data...
gimpbrush-transform.cc Loading commit data...
gimpbrush-transform.h Loading commit data...
gimpbrush.c Loading commit data...
gimpbrush.h Loading commit data...
gimpbrushcache.c Loading commit data...
gimpbrushcache.h Loading commit data...
gimpbrushclipboard.c Loading commit data...
gimpbrushclipboard.h Loading commit data...
gimpbrushgenerated-load.c Loading commit data...
gimpbrushgenerated-load.h Loading commit data...
gimpbrushgenerated-save.c Loading commit data...
gimpbrushgenerated-save.h Loading commit data...
gimpbrushgenerated.c Loading commit data...
gimpbrushgenerated.h Loading commit data...
gimpbrushpipe-load.c Loading commit data...
gimpbrushpipe-load.h Loading commit data...
gimpbrushpipe.c Loading commit data...
gimpbrushpipe.h Loading commit data...
gimpbuffer.c Loading commit data...
gimpbuffer.h Loading commit data...
gimpchannel-combine.c Loading commit data...
gimpchannel-combine.h Loading commit data...
gimpchannel-select.c Loading commit data...
gimpchannel-select.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpchannelpropundo.c Loading commit data...
gimpchannelpropundo.h Loading commit data...
gimpchannelundo.c Loading commit data...
gimpchannelundo.h Loading commit data...
gimpcontainer-filter.c Loading commit data...
gimpcontainer-filter.h Loading commit data...
gimpcontainer.c Loading commit data...
gimpcontainer.h Loading commit data...
gimpcontext.c Loading commit data...
gimpcontext.h Loading commit data...
gimpcoords-interpolate.c Loading commit data...
gimpcoords-interpolate.h Loading commit data...
gimpcoords.c Loading commit data...
gimpcoords.h Loading commit data...
gimpcurve-load.c Loading commit data...
gimpcurve-load.h Loading commit data...
gimpcurve-map.c Loading commit data...
gimpcurve-map.h Loading commit data...
gimpcurve-save.c Loading commit data...
gimpcurve-save.h Loading commit data...
gimpcurve.c Loading commit data...
gimpcurve.h Loading commit data...
gimpdashpattern.c Loading commit data...
gimpdashpattern.h Loading commit data...
gimpdata.c Loading commit data...
gimpdata.h Loading commit data...
gimpdatafactory.c Loading commit data...
gimpdatafactory.h Loading commit data...
gimpdocumentlist.c Loading commit data...
gimpdocumentlist.h Loading commit data...
gimpdrawable-blend.c Loading commit data...
gimpdrawable-blend.h Loading commit data...
gimpdrawable-bucket-fill.c Loading commit data...
gimpdrawable-bucket-fill.h Loading commit data...
gimpdrawable-combine.c Loading commit data...
gimpdrawable-combine.h Loading commit data...
gimpdrawable-equalize.c Loading commit data...
gimpdrawable-equalize.h Loading commit data...
gimpdrawable-fill.c Loading commit data...
gimpdrawable-fill.h Loading commit data...
gimpdrawable-filters.c Loading commit data...
gimpdrawable-filters.h Loading commit data...
gimpdrawable-floating-selection.c Loading commit data...
gimpdrawable-floating-selection.h Loading commit data...
gimpdrawable-foreground-extract.c Loading commit data...
gimpdrawable-foreground-extract.h Loading commit data...
gimpdrawable-histogram.c Loading commit data...
gimpdrawable-histogram.h Loading commit data...
gimpdrawable-levels.c Loading commit data...
gimpdrawable-levels.h Loading commit data...
gimpdrawable-offset.c Loading commit data...
gimpdrawable-offset.h Loading commit data...
gimpdrawable-operation.c Loading commit data...
gimpdrawable-operation.h Loading commit data...
gimpdrawable-preview.c Loading commit data...
gimpdrawable-preview.h Loading commit data...
gimpdrawable-private.h Loading commit data...
gimpdrawable-shadow.c Loading commit data...
gimpdrawable-shadow.h Loading commit data...
gimpdrawable-stroke.c Loading commit data...
gimpdrawable-stroke.h Loading commit data...
gimpdrawable-transform.c Loading commit data...
gimpdrawable-transform.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpdrawablefilter.c Loading commit data...
gimpdrawablefilter.h Loading commit data...
gimpdrawablemodundo.c Loading commit data...
gimpdrawablemodundo.h Loading commit data...
gimpdrawablestack.c Loading commit data...
gimpdrawablestack.h Loading commit data...
gimpdrawableundo.c Loading commit data...
gimpdrawableundo.h Loading commit data...
gimpdynamics-load.c Loading commit data...
gimpdynamics-load.h Loading commit data...
gimpdynamics-save.c Loading commit data...
gimpdynamics-save.h Loading commit data...
gimpdynamics.c Loading commit data...
gimpdynamics.h Loading commit data...
gimpdynamicsoutput.c Loading commit data...
gimpdynamicsoutput.h Loading commit data...
gimperror.c Loading commit data...
gimperror.h Loading commit data...
gimpfilloptions.c Loading commit data...
gimpfilloptions.h Loading commit data...
gimpfilter.c Loading commit data...
gimpfilter.h Loading commit data...
gimpfilteredcontainer.c Loading commit data...
gimpfilteredcontainer.h Loading commit data...
gimpfilterstack.c Loading commit data...
gimpfilterstack.h Loading commit data...
gimpfloatingselectionundo.c Loading commit data...
gimpfloatingselectionundo.h Loading commit data...
gimpgradient-load.c Loading commit data...
gimpgradient-load.h Loading commit data...
gimpgradient-save.c Loading commit data...
gimpgradient-save.h Loading commit data...
gimpgradient.c Loading commit data...
gimpgradient.h Loading commit data...
gimpgrid.c Loading commit data...
gimpgrid.h Loading commit data...
gimpgrouplayer.c Loading commit data...
gimpgrouplayer.h Loading commit data...
gimpgrouplayerundo.c Loading commit data...
gimpgrouplayerundo.h Loading commit data...
gimpguide.c Loading commit data...
gimpguide.h Loading commit data...
gimpguideundo.c Loading commit data...
gimpguideundo.h Loading commit data...
gimphistogram.c Loading commit data...
gimphistogram.h Loading commit data...
gimpidtable.c Loading commit data...
gimpidtable.h Loading commit data...
gimpimage-arrange.c Loading commit data...
gimpimage-arrange.h Loading commit data...
gimpimage-color-profile.c Loading commit data...
gimpimage-color-profile.h Loading commit data...
gimpimage-colormap.c Loading commit data...
gimpimage-colormap.h Loading commit data...
gimpimage-convert-data.h Loading commit data...
gimpimage-convert-fsdither.h Loading commit data...
gimpimage-convert-indexed.c Loading commit data...
gimpimage-convert-indexed.h Loading commit data...
gimpimage-convert-precision.c Loading commit data...
gimpimage-convert-precision.h Loading commit data...
gimpimage-convert-type.c Loading commit data...
gimpimage-convert-type.h Loading commit data...
gimpimage-crop.c Loading commit data...
gimpimage-crop.h Loading commit data...
gimpimage-duplicate.c Loading commit data...
gimpimage-duplicate.h Loading commit data...
gimpimage-flip.c Loading commit data...
gimpimage-flip.h Loading commit data...
gimpimage-grid.c Loading commit data...
gimpimage-grid.h Loading commit data...
gimpimage-guides.c Loading commit data...
gimpimage-guides.h Loading commit data...
gimpimage-item-list.c Loading commit data...
gimpimage-item-list.h Loading commit data...
gimpimage-merge.c Loading commit data...
gimpimage-merge.h Loading commit data...
gimpimage-metadata.c Loading commit data...
gimpimage-metadata.h Loading commit data...
gimpimage-new.c Loading commit data...
gimpimage-new.h Loading commit data...
gimpimage-pick-color.c Loading commit data...
gimpimage-pick-color.h Loading commit data...
gimpimage-pick-item.c Loading commit data...
gimpimage-pick-item.h Loading commit data...
gimpimage-preview.c Loading commit data...
gimpimage-preview.h Loading commit data...
gimpimage-private.h Loading commit data...
gimpimage-quick-mask.c Loading commit data...
gimpimage-quick-mask.h Loading commit data...
gimpimage-resize.c Loading commit data...
gimpimage-resize.h Loading commit data...
gimpimage-rotate.c Loading commit data...
gimpimage-rotate.h Loading commit data...
gimpimage-sample-points.c Loading commit data...
gimpimage-sample-points.h Loading commit data...
gimpimage-scale.c Loading commit data...
gimpimage-scale.h Loading commit data...
gimpimage-snap.c Loading commit data...
gimpimage-snap.h Loading commit data...
gimpimage-symmetry.c Loading commit data...
gimpimage-symmetry.h Loading commit data...
gimpimage-undo-push.c Loading commit data...
gimpimage-undo-push.h Loading commit data...
gimpimage-undo.c Loading commit data...
gimpimage-undo.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimagefile.c Loading commit data...
gimpimagefile.h Loading commit data...
gimpimageundo.c Loading commit data...
gimpimageundo.h Loading commit data...
gimpitem-exclusive.c Loading commit data...
gimpitem-exclusive.h Loading commit data...
gimpitem-linked.c Loading commit data...
gimpitem-linked.h Loading commit data...
gimpitem-preview.c Loading commit data...
gimpitem-preview.h Loading commit data...
gimpitem.c Loading commit data...
gimpitem.h Loading commit data...
gimpitempropundo.c Loading commit data...
gimpitempropundo.h Loading commit data...
gimpitemstack.c Loading commit data...
gimpitemstack.h Loading commit data...
gimpitemtree.c Loading commit data...
gimpitemtree.h Loading commit data...
gimpitemundo.c Loading commit data...
gimpitemundo.h Loading commit data...
gimplayer-floating-selection.c Loading commit data...
gimplayer-floating-selection.h Loading commit data...
gimplayer-new.c Loading commit data...
gimplayer-new.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplayermask.c Loading commit data...
gimplayermask.h Loading commit data...
gimplayermaskpropundo.c Loading commit data...
gimplayermaskpropundo.h Loading commit data...
gimplayermaskundo.c Loading commit data...
gimplayermaskundo.h Loading commit data...
gimplayerpropundo.c Loading commit data...
gimplayerpropundo.h Loading commit data...
gimplayerstack.c Loading commit data...
gimplayerstack.h Loading commit data...
gimplayerundo.c Loading commit data...
gimplayerundo.h Loading commit data...
gimplist.c Loading commit data...
gimplist.h Loading commit data...
gimpmarshal.list Loading commit data...
gimpmaskundo.c Loading commit data...
gimpmaskundo.h Loading commit data...
gimpmybrush-load.c Loading commit data...
gimpmybrush-load.h Loading commit data...
gimpmybrush-private.h Loading commit data...
gimpmybrush.c Loading commit data...
gimpmybrush.h Loading commit data...
gimpobject.c Loading commit data...
gimpobject.h Loading commit data...
gimpobjectqueue.c Loading commit data...
gimpobjectqueue.h Loading commit data...
gimppaintinfo.c Loading commit data...
gimppaintinfo.h Loading commit data...
gimppalette-import.c Loading commit data...
gimppalette-import.h Loading commit data...
gimppalette-load.c Loading commit data...
gimppalette-load.h Loading commit data...
gimppalette-save.c Loading commit data...
gimppalette-save.h Loading commit data...
gimppalette.c Loading commit data...
gimppalette.h Loading commit data...
gimppalettemru.c Loading commit data...
gimppalettemru.h Loading commit data...
gimpparamspecs-desc.c Loading commit data...
gimpparamspecs-desc.h Loading commit data...
gimpparamspecs-duplicate.c Loading commit data...
gimpparamspecs-duplicate.h Loading commit data...
gimpparamspecs.c Loading commit data...
gimpparamspecs.h Loading commit data...
gimpparasitelist.c Loading commit data...
gimpparasitelist.h Loading commit data...
gimppattern-header.h Loading commit data...
gimppattern-load.c Loading commit data...
gimppattern-load.h Loading commit data...
gimppattern.c Loading commit data...
gimppattern.h Loading commit data...
gimppatternclipboard.c Loading commit data...
gimppatternclipboard.h Loading commit data...
gimppdbprogress.c Loading commit data...
gimppdbprogress.h Loading commit data...
gimppickable-auto-shrink.c Loading commit data...
gimppickable-auto-shrink.h Loading commit data...
gimppickable-contiguous-region.c Loading commit data...
gimppickable-contiguous-region.h Loading commit data...
gimppickable.c Loading commit data...
gimppickable.h Loading commit data...
gimpprogress.c Loading commit data...
gimpprogress.h Loading commit data...
gimpprojectable.c Loading commit data...
gimpprojectable.h Loading commit data...
gimpprojection.c Loading commit data...
gimpprojection.h Loading commit data...
gimpsamplepoint.c Loading commit data...
gimpsamplepoint.h Loading commit data...
gimpsamplepointundo.c Loading commit data...
gimpsamplepointundo.h Loading commit data...
gimpscanconvert.c Loading commit data...
gimpscanconvert.h Loading commit data...
gimpselection.c Loading commit data...
gimpselection.h Loading commit data...
gimpsettings.c Loading commit data...
gimpsettings.h Loading commit data...
gimpstrokeoptions.c Loading commit data...
gimpstrokeoptions.h Loading commit data...
gimpsubprogress.c Loading commit data...
gimpsubprogress.h Loading commit data...
gimpsymmetry-mandala.c Loading commit data...
gimpsymmetry-mandala.h Loading commit data...
gimpsymmetry-mirror.c Loading commit data...
gimpsymmetry-mirror.h Loading commit data...
gimpsymmetry-tiling.c Loading commit data...
gimpsymmetry-tiling.h Loading commit data...
gimpsymmetry.c Loading commit data...
gimpsymmetry.h Loading commit data...
gimptag.c Loading commit data...
gimptag.h Loading commit data...
gimptagcache.c Loading commit data...
gimptagcache.h Loading commit data...
gimptagged.c Loading commit data...
gimptagged.h Loading commit data...
gimptaggedcontainer.c Loading commit data...
gimptaggedcontainer.h Loading commit data...
gimptempbuf.c Loading commit data...
gimptempbuf.h Loading commit data...
gimptemplate.c Loading commit data...
gimptemplate.h Loading commit data...
gimptilehandlerprojectable.c Loading commit data...
gimptilehandlerprojectable.h Loading commit data...
gimptoolinfo.c Loading commit data...
gimptoolinfo.h Loading commit data...
gimptooloptions.c Loading commit data...
gimptooloptions.h Loading commit data...
gimptoolpreset-load.c Loading commit data...
gimptoolpreset-load.h Loading commit data...
gimptoolpreset-save.c Loading commit data...
gimptoolpreset-save.h Loading commit data...
gimptoolpreset.c Loading commit data...
gimptoolpreset.h Loading commit data...
gimptreehandler.c Loading commit data...
gimptreehandler.h Loading commit data...
gimpundo.c Loading commit data...
gimpundo.h Loading commit data...
gimpundostack.c Loading commit data...
gimpundostack.h Loading commit data...
gimpunit.c Loading commit data...
gimpunit.h Loading commit data...
gimpviewable.c Loading commit data...
gimpviewable.h Loading commit data...