From f63a8fcfe67bad6ea89fe6c98afb069da0955fdf Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 30 Jan 2011 20:43:01 +0100 Subject: [PATCH] app: remove some leftover dead code probably from before some text layer saving refactoring. --- app/xcf/xcf-save.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/app/xcf/xcf-save.c b/app/xcf/xcf-save.c index ae26c0e3a3..e4b748633e 100644 --- a/app/xcf/xcf-save.c +++ b/app/xcf/xcf-save.c @@ -455,9 +455,8 @@ xcf_save_layer_props (XcfInfo *info, GimpLayer *layer, GError **error) { - GimpParasite *parasite = NULL; - gint offset_x; - gint offset_y; + gint offset_x; + gint offset_y; if (gimp_viewable_get_children (GIMP_VIEWABLE (layer))) xcf_check_error (xcf_save_prop (info, image, PROP_GROUP_ITEM, error)); @@ -542,13 +541,6 @@ xcf_save_layer_props (XcfInfo *info, GIMP_ITEM (layer)->parasites)); } - if (parasite) - { - gimp_parasite_list_remove (GIMP_ITEM (layer)->parasites, - gimp_parasite_name (parasite)); - gimp_parasite_free (parasite); - } - xcf_check_error (xcf_save_prop (info, image, PROP_END, error)); return TRUE;