search for: swfdec_text_field_movie_dispose

Displaying 8 results from an estimated 8 matches for "swfdec_text_field_movie_dispose".

2007 Oct 17
0
4 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_movie.c libswfdec/swfdec_system_as.c libswfdec/swfdec_text_field_movie.c test/trace
...quot;swfdec_text_field_movie.h" #include "swfdec_as_context.h" #include "swfdec_as_strings.h" +#include "swfdec_as_interpret.h" #include "swfdec_text_format.h" #include "swfdec_xml.h" #include "swfdec_debug.h" @@ -525,8 +526,6 @@ swfdec_text_field_movie_dispose (GObject *object) text = SWFDEC_TEXT_FIELD_MOVIE (object); - swfdec_text_field_movie_set_listen_variable (text, NULL); - swfdec_text_field_movie_free_paragraphs (text); for (iter = text->formats; iter != NULL; iter = iter->next) { @@ -618,6 +617,14 @@ swfdec_text_field_movie_i...
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
...sems signals aren't the proper way to do this marshalling either diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 040c336..bc8cdb6 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -1060,13 +1060,13 @@ swfdec_text_field_movie_dispose (GObject *object) text->asterisks_length = 0; } - if (text->style_sheet) { - if (SWFDEC_IS_STYLESHEET (text->style_sheet)) { - g_signal_handlers_disconnect_matched (text->style_sheet, - G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, text); - } - text->style_sheet...
2008 Jan 21
1
70 commits
Hey, In case someone filters commit mails or doesn't read 1MB blobs, I've just merged the result of me getting annoyed at various stuff. Unfortunately, this grew a bit out of hand and ended up being very huge. I expect this merge to have broken lots of things, so if you find stuff that used to work and now doesn't work (or even crashes), please poke me about it. What does this patch
2007 Nov 04
0
7 commits - libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h libswfdec/swfdec_text_field_movie_html.c
...Sat Nov 3 16:10:41 2007 +0200 Free asterisks when disposing TextField diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 90c2990..d1da999 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -891,6 +891,12 @@ swfdec_text_field_movie_dispose (GObject *object) text = SWFDEC_TEXT_FIELD_MOVIE (object); + if (text->asterisks != NULL) { + g_free (text->asterisks); + text->asterisks = NULL; + text->asterisks_length = 0; + } + if (text->style_sheet) { if (SWFDEC_IS_STYLESHEET (text->style_sheet)) {...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...} @@ -398,14 +388,6 @@ swfdec_text_field_movie_free_layouts (SwfdecLayout *layouts) } g_free (layouts); - - g_assert (cr != NULL); - g_assert (surface != NULL); - - cairo_destroy (cr); - cr = NULL; - cairo_surface_destroy (surface); - surface = NULL; } void @@ -551,6 +533,9 @@ swfdec_text_field_movie_dispose (GObject *object) } g_slist_free (text->formats); + cairo_destroy (text->cr); + cairo_surface_destroy (text->surface); + G_OBJECT_CLASS (swfdec_text_field_movie_parent_class)->dispose (object); } @@ -693,6 +678,8 @@ swfdec_text_field_movie_class_init (SwfdecTextFieldMovi...
2007 Oct 22
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...Mon Oct 22 17:50:38 2007 +0300 Free the GString used inside TextField diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index ef8f2ce..5d51698 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -861,9 +861,15 @@ swfdec_text_field_movie_dispose (GObject *object) text->formats->data = NULL; } g_slist_free (text->formats); + text->formats = NULL; + + g_string_free (text->input, TRUE); + text->input = NULL; cairo_destroy (text->cr); + text->cr = NULL; cairo_surface_destroy (text->surface); +...
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...xt_field_movie_format_changed (SwfdecTextFieldMovie *text) +swfdec_text_field_movie_changed (SwfdecTextFieldMovie *text) { - swfdec_text_field_movie_free_paragraphs (text); - swfdec_movie_invalidate (SWFDEC_MOVIE (text)); if (swfdec_text_field_movie_auto_size (text)) { @@ -813,8 +815,6 @@ swfdec_text_field_movie_dispose (GObject *object) text = SWFDEC_TEXT_FIELD_MOVIE (object); - swfdec_text_field_movie_free_paragraphs (text); - for (iter = text->formats; iter != NULL; iter = iter->next) { g_free (text->formats->data); text->formats->data = NULL; @@ -1015,7 +1015,7 @@ swfdec_...
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
....text = text->input; data.tags_open = NULL; data.tags_closed = NULL; diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index d7f2967..a1c3729 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -858,8 +858,10 @@ swfdec_text_field_movie_dispose (GObject *object) text = SWFDEC_TEXT_FIELD_MOVIE (object); if (text->style_sheet) { - swfdec_style_sheet_remove_listener (text->style_sheet, - SWFDEC_AS_OBJECT (text)); + if (SWFDEC_IS_STYLESHEET (text->style_sheet)) { + swfdec_style_sheet_remove_listener ( + SWFDEC_ST...