diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-16 08:50:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-16 08:50:28 +0800 |
commit | 2ebfd1d525cac225a61f743a295fd94266095e6a (patch) | |
tree | c41672fa5b6f5f0e27f18043514e6e151b57138c /modules/calendar/e-cal-shell-view-private.c | |
parent | f11a74d7258c164cdf8627071229a508748c8052 (diff) | |
download | gsoc2013-evolution-2ebfd1d525cac225a61f743a295fd94266095e6a.tar.gz gsoc2013-evolution-2ebfd1d525cac225a61f743a295fd94266095e6a.tar.zst gsoc2013-evolution-2ebfd1d525cac225a61f743a295fd94266095e6a.zip |
ECalShellView: Use g_clear_object() in dispose().
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index f22b8eef20..5678daabcb 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -742,9 +742,9 @@ e_cal_shell_view_private_dispose (ECalShellView *cal_shell_view) if (priv->cal_shell_content != NULL) e_cal_shell_content_save_state (priv->cal_shell_content); - DISPOSE (priv->cal_shell_backend); - DISPOSE (priv->cal_shell_content); - DISPOSE (priv->cal_shell_sidebar); + g_clear_object (&priv->cal_shell_backend); + g_clear_object (&priv->cal_shell_content); + g_clear_object (&priv->cal_shell_sidebar); if (priv->calendar_activity != NULL) { /* XXX Activity is not cancellable. */ |