From 2cb0739be5ff2aa4506f86a2a5d815336e01900a Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 3 May 2007 15:18:53 +0000 Subject: [PATCH] use a simple cast, not a type-checking one svn path=/trunk/; revision=22390 --- app/core/gimplayermaskundo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/gimplayermaskundo.c b/app/core/gimplayermaskundo.c index d42ae478dc..2b7e12d669 100644 --- a/app/core/gimplayermaskundo.c +++ b/app/core/gimplayermaskundo.c @@ -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: