[bijiben] noteView: finalize the webview from noteview
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] noteView: finalize the webview from noteview
- Date: Sat, 9 Mar 2013 23:10:28 +0000 (UTC)
commit a2c836cc14cb85c20c02e53b489f6912e7060274
Author: Pierre-Yves Luyten <py luyten fr>
Date: Sat Mar 9 23:56:20 2013 +0100
noteView: finalize the webview from noteview
The Note view has to free the web view. And selection should not free it. Leaks are lower now
src/bjb-note-view.c | 1 +
src/libbiji/editor/biji-editor-selection.c | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/bjb-note-view.c b/src/bjb-note-view.c
index 2af39e9..ffe284a 100644
--- a/src/bjb-note-view.c
+++ b/src/bjb-note-view.c
@@ -85,6 +85,7 @@ bjb_note_view_finalize(GObject *object)
g_signal_handler_disconnect (priv->note, priv->deleted);
g_signal_handler_disconnect (priv->note, priv->color);
+ g_clear_object (&priv->view);
g_clear_object (&priv->accel);
g_clear_object (&priv->edit_bar);
clutter_color_free (priv->last_date_bckgrd_clr);
diff --git a/src/libbiji/editor/biji-editor-selection.c b/src/libbiji/editor/biji-editor-selection.c
index 87b30e1..d77836b 100644
--- a/src/libbiji/editor/biji-editor-selection.c
+++ b/src/libbiji/editor/biji-editor-selection.c
@@ -422,8 +422,6 @@ e_editor_selection_finalize (GObject *object)
{
EEditorSelection *selection = E_EDITOR_SELECTION (object);
- g_clear_object (&selection->priv->webview);
-
g_free (selection->priv->text);
selection->priv->text = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]