From a8cff3a02a1aecdea2e4fecfa37dca809a176ec2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Sep 2008 14:57:02 +0000 Subject: Fix compiler warnings in some of the test programs. 2008-09-01 Matthew Barnes * 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 --- plugins/templates/ChangeLog | 5 +++++ plugins/templates/templates.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/templates') 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 + + * templates.c: + Don't mix declarations and code. + 2008-08-12 Bharath Acharya * 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; -- cgit