aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@helixcode.com>2000-09-13 06:55:16 +0800
committerLarry Ewing <lewing@src.gnome.org>2000-09-13 06:55:16 +0800
commitcad6e285aa250a9adbd7064fa64ac766646adc0c (patch)
tree5c6a22771d24b749719270f4dae117ddb3d21dae
parentae3484183b96939e6425316e745670991cbabbf3 (diff)
downloadgsoc2013-evolution-cad6e285aa250a9adbd7064fa64ac766646adc0c.tar.gz
gsoc2013-evolution-cad6e285aa250a9adbd7064fa64ac766646adc0c.tar.zst
gsoc2013-evolution-cad6e285aa250a9adbd7064fa64ac766646adc0c.zip
add a make sure the attachment isn't NULL. A more complete fix coming
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. svn path=/trunk/; revision=5394
-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);