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-shell-window.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-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index c6ec497234..6292738a57 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -630,12 +630,15 @@ setup_status_bar (EShellWindow *window) { EShellWindowPrivate *priv; BonoboUIEngine *ui_engine; + GConfClient *gconf_client; priv = window->priv; priv->status_bar = gtk_hbox_new (FALSE, 2); - if(gconf_client_get_bool (gconf_client_get_default(),"/apps/evolution/shell/view_defaults/statusbar_visible",NULL)) + gconf_client = gconf_client_get_default (); + if(gconf_client_get_bool (gconf_client,"/apps/evolution/shell/view_defaults/statusbar_visible",NULL)) gtk_widget_show (priv->status_bar); + g_object_unref (gconf_client); /* setup dbus interface here*/ setup_nm_support (window); |