[evolution/wip/webkit-composer: 658/966] EEditorActions: Fix leaking GtkAction reference.



commit 5f4583fab7e118c4f8a9fed1a63546d09a0fa966
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Feb 5 07:55:36 2013 -0500

    EEditorActions: Fix leaking GtkAction reference.

 e-util/e-editor-actions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-actions.c b/e-util/e-editor-actions.c
index bdd03e6..46a3f3e 100644
--- a/e-util/e-editor-actions.c
+++ b/e-util/e-editor-actions.c
@@ -1840,6 +1840,7 @@ editor_actions_init (EEditor *editor)
                action, "item-activated",
                G_CALLBACK (action_insert_emoticon_cb), editor);
        gtk_action_group_add_action (action_group, action);
+       g_object_unref (action);
 
        /* Core Actions (HTML only) */
        action_group = editor->priv->html_actions;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]