aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-01 21:02:57 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-03-01 21:02:57 -0600
commit8be0daf8d37a2c53df8f097c389e35c7d4c5ea6b (patch)
tree9835cf85501c862c5cc820cc0183e16ef417ca35
parent4586df056f8a637c9a33d1d6a70ca0480b2c9e0c (diff)
downloadayatana-indicator-datetime-8be0daf8d37a2c53df8f097c389e35c7d4c5ea6b.tar.gz
ayatana-indicator-datetime-8be0daf8d37a2c53df8f097c389e35c7d4c5ea6b.tar.bz2
ayatana-indicator-datetime-8be0daf8d37a2c53df8f097c389e35c7d4c5ea6b.zip
in dispose(), add g_clear_object() for priv.ido_calendar and priv.service_proxy_cancel
-rw-r--r--src/indicator-datetime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 08d7383..91a029c 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -444,7 +444,8 @@ indicator_datetime_dispose (GObject *object)
g_clear_object (&priv->settings);
g_clear_object (&priv->service_proxy);
g_clear_object (&priv->indicator_right_group);
-
+ g_clear_object (&priv->ido_calendar);
+ g_clear_object (&priv->service_proxy_cancel);
G_OBJECT_CLASS (indicator_datetime_parent_class)->dispose (object);
return;