aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-attachment-bar.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 6c6dd8b609..710c6428fe 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-06 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #429234
+
+ * e-attachment-bar.c: (destroy): Remove the weak ref while the purpose
+ is achieved.
+
2007-08-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #335566
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c
index 711dbf2888..ce1268ce1c 100644
--- a/widgets/misc/e-attachment-bar.c
+++ b/widgets/misc/e-attachment-bar.c
@@ -686,6 +686,7 @@ destroy (GtkObject *object)
priv->batch_unref = TRUE;
for (i = 0; i < priv->attachments->len; i++) {
attachment = priv->attachments->pdata[i];
+ g_object_weak_unref ((GObject *) attachment, (GWeakNotify) attachment_destroy, bar);
g_object_unref (attachment);
}
g_ptr_array_free (priv->attachments, TRUE);