aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2006-02-16 07:33:45 +0800
committerTor Lillqvist <tml@src.gnome.org>2006-02-16 07:33:45 +0800
commit0cea64104557bb9108039abe622b1f18f426299c (patch)
tree9fee49eccda2319cff6db11423317ac1b6bde722 /composer
parentac643b60b6d5d784cc4af0857eea0f54fd1c9f07 (diff)
downloadgsoc2013-evolution-0cea64104557bb9108039abe622b1f18f426299c.tar.gz
gsoc2013-evolution-0cea64104557bb9108039abe622b1f18f426299c.tar.zst
gsoc2013-evolution-0cea64104557bb9108039abe622b1f18f426299c.zip
Return a value... Why are blatant errors like this just warnings in gcc?
2006-02-16 Tor Lillqvist <tml@novell.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): Return a value... Why are blatant errors like this just warnings in gcc? svn path=/trunk/; revision=31533
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-hdrs.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index d368ec7398..268fa641bc 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-16 Tor Lillqvist <tml@novell.com>
+
+ * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_to)
+ (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): Return
+ a value... Why are blatant errors like this just warnings in gcc?
+
2006-02-09 Frederic Crozat <fcrozat@mandriva.com>
* e-msg-composer-hdrs.c: (e_msg_composer_hdrs_get_internal),
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 5e005269d7..7c1a631ee1 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -1467,7 +1467,7 @@ e_msg_composer_hdrs_get_to (EMsgComposerHdrs *hdrs)
{
g_return_val_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs), NULL);
- e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->to.entry));
+ return e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->to.entry));
}
EDestination **
@@ -1475,7 +1475,7 @@ e_msg_composer_hdrs_get_cc (EMsgComposerHdrs *hdrs)
{
g_return_val_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs), NULL);
- e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->cc.entry));
+ return e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->cc.entry));
}
EDestination **
@@ -1483,7 +1483,7 @@ e_msg_composer_hdrs_get_bcc (EMsgComposerHdrs *hdrs)
{
g_return_val_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs), NULL);
- e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->bcc.entry));
+ return e_msg_composer_hdrs_get_internal (hdrs, E_NAME_SELECTOR_ENTRY (hdrs->priv->bcc.entry));
}
EDestination **