app: remove some leftover dead code
probably from before some text layer saving refactoring.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user