diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2007-07-26 20:35:14 +0800 |
---|---|---|
committer | Hiroyuki Ikezoe <hiikezoe@src.gnome.org> | 2007-07-26 20:35:14 +0800 |
commit | 0aa26a1e49d1595f0e250982dd3e13f82323efbc (patch) | |
tree | 2b55d99af89a94eafdf05dc651a32146377c2d79 /shell/e-user-creatable-items-handler.c | |
parent | 98f9681d831902650761dc54255f728d995978f2 (diff) | |
download | gsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.tar.gz gsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.tar.zst gsoc2013-evolution-0aa26a1e49d1595f0e250982dd3e13f82323efbc.zip |
Plugged memory leaks.
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
* e-shell-window-command.c: (view_statusbar_item_toggled_handler),
(view_sidebar_item_toggled_handler):
* e-shell-window.c: (setup_status_bar):
* e-user-creatable-items-handler.c: (setup_toolbar_button): Plugged
memory leaks.
svn path=/trunk/; revision=33851
Diffstat (limited to 'shell/e-user-creatable-items-handler.c')
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c index 392f2ab3b7..311cd14bcd 100644 --- a/shell/e-user-creatable-items-handler.c +++ b/shell/e-user-creatable-items-handler.c @@ -740,6 +740,7 @@ setup_toolbar_button (EUserCreatableItemsHandler *handler) priv->default_menu_item = get_default_action_for_view (handler); if (!priv->default_menu_item) { gtk_widget_set_sensitive (priv->new_button, FALSE); + g_object_unref (gconf); return; } @@ -757,6 +758,7 @@ setup_toolbar_button (EUserCreatableItemsHandler *handler) gtk_tooltips_set_tip (priv->tooltips, priv->new_button, priv->default_menu_item->tooltip, NULL); g_free (val); + g_object_unref (gconf); } |