ports/textproc/xmlroff/files/patch-property::fo-property-util.c
Hiroki Sato e01a593485 Update to 0.3.3. Changes include:
- Added support for 'border', 'border-left', 'border-right',
   'border-top', 'border-bottom', 'border-style', 'border-width', and
   'border-color' properties (Julian Rosse)
 - Removed border-related properties and 'padding'from libfo-compat.xsl
 - Corrected whitespace handling in libfo-compat.xsl
 - Added removal of more unsupported properties in libfo-compat.xsl
 - Corrected drawing 'dashed', 'dotted', 'groove', and 'hidden' border
   styles
 - Partially re-implemented fo:external-graphic support
2005-06-14 18:17:57 +00:00

29 lines
834 B
C

--- property/fo-property-util.c.orig Tue Apr 26 04:09:35 2005
+++ property/fo-property-util.c Tue Jun 14 22:22:38 2005
@@ -1866,6 +1866,8 @@
FoContext *context,
GError **error)
{
+ FoDatatype *new_style;
+ FoDatatype *new_color;
g_return_val_if_fail (datatype != NULL, NULL);
g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL);
g_return_val_if_fail (context != NULL, NULL);
@@ -1886,7 +1888,7 @@
return NULL;
}
- FoDatatype *new_style =
+ new_style =
fo_property_util_validate_style (fo_wsc_get_style (datatype),
context,
&tmp_error);
@@ -1897,7 +1899,7 @@
return NULL;
}
- FoDatatype *new_color =
+ new_color =
fo_property_util_validate_color_transparent (fo_wsc_get_color (datatype),
context,
&tmp_error);