aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-04 23:56:09 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:48 +0800
commit7d6027be1a9989549c80fdbe6dcf8317c54a6a6a (patch)
tree062b4b3146497089003edd0d5b53527a952cfefc /shell/e-shell-window-private.c
parent109bad0ce54a73519abba7094a5e6090b8525ac3 (diff)
downloadgsoc2013-evolution-7d6027be1a9989549c80fdbe6dcf8317c54a6a6a.tar.gz
gsoc2013-evolution-7d6027be1a9989549c80fdbe6dcf8317c54a6a6a.tar.zst
gsoc2013-evolution-7d6027be1a9989549c80fdbe6dcf8317c54a6a6a.zip
EShell-related cleanups.
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r--shell/e-shell-window-private.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 100a8bef0d..2515f0a1eb 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -497,18 +497,18 @@ e_shell_window_private_dispose (EShellWindow *shell_window)
priv->shell = NULL;
}
- DISPOSE (priv->focus_tracker);
- DISPOSE (priv->ui_manager);
+ g_clear_object (&priv->focus_tracker);
+ g_clear_object (&priv->ui_manager);
g_hash_table_remove_all (priv->loaded_views);
- DISPOSE (priv->alert_bar);
- DISPOSE (priv->content_pane);
- DISPOSE (priv->content_notebook);
- DISPOSE (priv->sidebar_notebook);
- DISPOSE (priv->switcher);
- DISPOSE (priv->tooltip_label);
- DISPOSE (priv->status_notebook);
+ g_clear_object (&priv->alert_bar);
+ g_clear_object (&priv->content_pane);
+ g_clear_object (&priv->content_notebook);
+ g_clear_object (&priv->sidebar_notebook);
+ g_clear_object (&priv->switcher);
+ g_clear_object (&priv->tooltip_label);
+ g_clear_object (&priv->status_notebook);
priv->destroyed = TRUE;
}