aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-06 17:55:35 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-06 17:55:35 +0800
commita138c5f1b13667efb57e75744a52ea0045ca107e (patch)
tree59d73165a2b7c6758837857d2015304d091aee2f /widgets
parent8c41658c787420db7cf68f28ad381a769478f1dc (diff)
downloadgsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar.gz
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar.bz2
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar.lz
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar.xz
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.tar.zst
gsoc2013-evolution-a138c5f1b13667efb57e75744a52ea0045ca107e.zip
** Fix for bug #429234
svn path=/trunk/; revision=33955
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);