aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-21 07:46:04 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-21 07:46:04 +0800
commit7d4c791a79455fc25bba4a088066cf3825bca01d (patch)
tree618f641b1289591199b801ec7adfc88f72e93d1c /composer/e-msg-composer-hdrs.c
parente9f3fc8bba0abaabf4ef01cd1cd446926e88cb50 (diff)
downloadgsoc2013-evolution-7d4c791a79455fc25bba4a088066cf3825bca01d.tar.gz
gsoc2013-evolution-7d4c791a79455fc25bba4a088066cf3825bca01d.tar.zst
gsoc2013-evolution-7d4c791a79455fc25bba4a088066cf3825bca01d.zip
Duh! dont free subject & simplify logic a little.
2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. 2002-11-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (entry_changed): duh, emit the signal using an initialised value(!). svn path=/trunk/; revision=18873
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 6dc091f913..6dce1ad737 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -369,11 +369,11 @@ header_new_recipient (EMsgComposerHdrs *hdrs, const char *name, const char *tip)
static void
entry_changed (GtkWidget *entry, EMsgComposerHdrs *hdrs)
{
- char *subject, *tmp;
+ char *subject;
- tmp = e_msg_composer_hdrs_get_subject (hdrs);
+ subject = e_msg_composer_hdrs_get_subject (hdrs);
g_signal_emit(hdrs, signals[SUBJECT_CHANGED], 0, subject);
- g_free (tmp);
+ g_free (subject);
g_signal_emit(hdrs, signals[HDRS_CHANGED], 0);
}