Skip to content
  • Michael Natterer's avatar
    g_return_if_fail() on the mask's image being the same as the layer's · eed8f2c3
    Michael Natterer authored
    2008-10-06  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimplayer.c (gimp_layer_add_mask): g_return_if_fail()
    	on the mask's image being the same as the layer's image. The PDB
    	already checks for this.
    
    	* app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
    	remove calls to gimp_item_set_image() because we only accept
    	itmes of this image anyway.
    
    
    svn path=/trunk/; revision=27138
    eed8f2c3