diff options
Diffstat (limited to 'widgets/misc/e-attachment-bar.c')
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |