[gtkhtml] Fix for #613774, GtkHTMLStream should be freed by unref
- From: Jeff Cai <jeffcai src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Fix for #613774, GtkHTMLStream should be freed by unref
- Date: Tue, 31 Aug 2010 03:21:39 +0000 (UTC)
commit eb884038fcbc1c67e05e885590adbfacd690c364
Author: Jeff Cai <jeff cai sun com>
Date: Tue Aug 31 11:21:13 2010 +0800
Fix for #613774, GtkHTMLStream should be freed by unref
components/editor/gtkhtml-editor-actions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/components/editor/gtkhtml-editor-actions.c b/components/editor/gtkhtml-editor-actions.c
index d69684d..ca2de10 100644
--- a/components/editor/gtkhtml-editor-actions.c
+++ b/components/editor/gtkhtml-editor-actions.c
@@ -173,7 +173,7 @@ insert_html_file_ready_cb (GFile *file,
stream = gtk_html_begin (new_html);
gtk_html_write (html, stream, contents, length);
gtk_html_end (html, stream, GTK_HTML_STREAM_OK);
- g_object_unref (stream);
+ gtk_html_stream_destroy (stream);
g_free (contents);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]