wrap props in another element

This commit is contained in:
John Cupitt 2014-06-26 10:54:07 +01:00
parent 94f92fc014
commit 58bfb69b07
1 changed files with 4 additions and 2 deletions

View File

@ -706,8 +706,10 @@ write_vips_property( VipsImage *image,
char *str_value;
str_value = g_strdup_value_contents( value );
gsf_output_printf( out, " <name>%s</name>\n", field );
gsf_output_printf( out, " <value>%s</value>\n", str_value );
gsf_output_printf( out, " <property>\n" );
gsf_output_printf( out, " <name>%s</name>\n", field );
gsf_output_printf( out, " <value>%s</value>\n", str_value );
gsf_output_printf( out, " </property>\n" );
g_free( str_value );
return( NULL );