aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer-attachment-bar.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 67f863eefa..e8449a78cb 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-12 Larry Ewing <lewing@helixcode.com>
+
+ * e-msg-composer-attachment-bar.c (add_common): add a make sure
+ the attachment isn't NULL. A more complete fix coming soon.
+
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am ($(IDL_GENERATED)): Add space after `-I'.
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 20b6c3d3d2..50923f7e19 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -123,6 +123,8 @@ static void
add_common (EMsgComposerAttachmentBar *bar,
EMsgComposerAttachment *attachment)
{
+ g_return_if_fail (attachment != NULL);
+
gtk_signal_connect (GTK_OBJECT (attachment), "changed",
GTK_SIGNAL_FUNC (attachment_changed_cb),
bar);