From 08d4a63ce511519ed61ddf1851de630464929bd7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 11 Feb 2009 15:10:56 +0000 Subject: Change the representation of any data that includes a css_string. They're now either embedded directly in the computed style object, or are comprised of an array of objects (rather than pointers to objects) svn path=/trunk/libcss/; revision=6432 --- src/select/computed.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/select/computed.c') diff --git a/src/select/computed.c b/src/select/computed.c index a12e10f..cb7e173 100644 --- a/src/select/computed.c +++ b/src/select/computed.c @@ -53,27 +53,11 @@ css_error css_computed_style_destroy(css_computed_style *style) if (style->uncommon != NULL) { if (style->uncommon->counter_increment != NULL) { - css_computed_counter **c = - style->uncommon->counter_increment; - - while (*c != NULL) { - style->alloc(*c, 0, style->pw); - c++; - } - style->alloc(style->uncommon->counter_increment, 0, style->pw); } if (style->uncommon->counter_reset != NULL) { - css_computed_counter **c = - style->uncommon->counter_reset; - - while (*c != NULL) { - style->alloc(*c, 0, style->pw); - c++; - } - style->alloc(style->uncommon->counter_reset, 0, style->pw); } -- cgit v1.2.3