mirror of https://github.com/GNOME/gimp.git
use a simple cast, not a type-checking one
svn path=/trunk/; revision=22390
This commit is contained in:
parent
6c427acf21
commit
2cb0739be5
|
@ -119,7 +119,7 @@ gimp_layer_mask_undo_set_property (GObject *object,
|
|||
switch (property_id)
|
||||
{
|
||||
case PROP_LAYER_MASK:
|
||||
layer_mask_undo->layer_mask = GIMP_LAYER_MASK (g_value_dup_object (value));
|
||||
layer_mask_undo->layer_mask = (GimpLayerMask *) g_value_dup_object (value);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue