search for: swfdec_style_sheet_parse

Displaying 2 results from an estimated 2 matches for "swfdec_style_sheet_parse".

2008 Jan 19
0
5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_loader.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/swfdec_test_test.c
...thor: Benjamin Otte <otte at gnome.org> Date: Sat Jan 19 02:39:07 2008 +0100 memleak diff --git a/libswfdec/swfdec_style_sheet.c b/libswfdec/swfdec_style_sheet.c index f146c8a..847b199 100644 --- a/libswfdec/swfdec_style_sheet.c +++ b/libswfdec/swfdec_style_sheet.c @@ -202,7 +202,7 @@ swfdec_style_sheet_parse (SwfdecAsContext *cx, const char *css) p = swfdec_style_sheet_parse_selectors (cx, p, object, selectors); } else { if (*p == '}') { - selectors->len = 0; + g_ptr_array_set_size (selectors, 0); p++; p += strspn (p, " \t\r\n"); } else { @@ -219,6 +21...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
...09, 0x1C, 0x96, 0x07, + 0x00, 0x07, 0x04, 0x00, 0x00, 0x00, 0x08, 0x05, 0x3D, 0x17, 0x00 }; diff --git a/libswfdec/swfdec_style_sheet.c b/libswfdec/swfdec_style_sheet.c index ed38507..0f21fd9 100644 --- a/libswfdec/swfdec_style_sheet.c +++ b/libswfdec/swfdec_style_sheet.c @@ -242,6 +242,25 @@ swfdec_style_sheet_parse (SwfdecAsContext *cx, const char *css) return object; } +SWFDEC_AS_NATIVE (113, 100, swfdec_style_sheet_update) +void +swfdec_style_sheet_update (SwfdecAsContext *cx, SwfdecAsObject *object, + guint argc, SwfdecAsValue *argv, SwfdecAsValue *rval) +{ + SwfdecStyleSheet *style; + SwfdecTex...