diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-09-01 22:57:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-01 22:57:02 +0800 |
commit | a8cff3a02a1aecdea2e4fecfa37dca809a176ec2 (patch) | |
tree | 096fd82b35851668fae9e032927502c19b10b6fa /plugins/templates | |
parent | 65edf39de973207ca62acbcc7887eb2dce614537 (diff) | |
download | gsoc2013-evolution-a8cff3a02a1aecdea2e4fecfa37dca809a176ec2.tar.gz gsoc2013-evolution-a8cff3a02a1aecdea2e4fecfa37dca809a176ec2.tar.zst gsoc2013-evolution-a8cff3a02a1aecdea2e4fecfa37dca809a176ec2.zip |
Fix compiler warnings in some of the test programs.
2008-09-01 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Fix compiler warnings in some of the test programs.
* mail/em-composer-utils.c (edit_message):
* plugins/email-custom-header/email-custom-header.c:
* plugins/templates/templates.c:
Don't mix declarations and code.
svn path=/trunk/; revision=36242
Diffstat (limited to 'plugins/templates')
-rw-r--r-- | plugins/templates/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/templates/templates.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/templates/ChangeLog b/plugins/templates/ChangeLog index e1157ef1d9..04e998ef82 100644 --- a/plugins/templates/ChangeLog +++ b/plugins/templates/ChangeLog @@ -1,3 +1,8 @@ +2008-09-01 Matthew Barnes <mbarnes@redhat.com> + + * templates.c: + Don't mix declarations and code. + 2008-08-12 Bharath Acharya <abharath@novell.com> * Makefile.am: Have a check for OS_WIN32 and handle the schema data diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c index c72ae942a9..bb5630fc5d 100644 --- a/plugins/templates/templates.c +++ b/plugins/templates/templates.c @@ -586,6 +586,7 @@ static GSList char *path; EPopupItem *item; CamelMimeMessage *message; + UserData *user_data; const char *uid; uid = g_strdup (g_ptr_array_index (uids, i)); @@ -615,7 +616,6 @@ static GSList item->visible = EM_POPUP_SELECT_MANY | EM_POPUP_SELECT_ONE; /* Make some info available to the callback */ - UserData *user_data; user_data = g_slice_new(UserData); user_data->msg = message; user_data->t = t; |