aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.c
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 /composer/e-msg-composer-attachment-bar.c
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
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r--composer/e-msg-composer-attachment-bar.c2
1 files changed, 2 insertions, 0 deletions
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);