From 4503c052d04822edb3105e639b824ed88013a810 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 6 Jun 2008 15:12:53 +0000 Subject: ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and 2008-06-06 Matthew Barnes ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606 --- plugins/email-custom-header/email-custom-header.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/email-custom-header/email-custom-header.c') diff --git a/plugins/email-custom-header/email-custom-header.c b/plugins/email-custom-header/email-custom-header.c index cdd4a14a69..5dbf214f48 100644 --- a/plugins/email-custom-header/email-custom-header.c +++ b/plugins/email-custom-header/email-custom-header.c @@ -23,10 +23,6 @@ #endif #include -#include -#include -#include -#include #include #include #include @@ -268,10 +264,12 @@ epech_load_from_gconf (GConfClient *client,const char *path,CustomHeaderOptionsD header_list = gconf_client_get_list (client,path,GCONF_VALUE_STRING, NULL); for (q = header_list,pos = 0; q != NULL; q = q->next,pos++) { + gchar **parse_header_list; + memset(&temp_header_value_details,0,sizeof(CustomSubHeader)); temp_header_details.sub_header_type_value = g_array_new (TRUE, TRUE, sizeof (CustomSubHeader)); buffer = q->data; - gchar **parse_header_list = g_strsplit_set (buffer, "=;,", -1); + parse_header_list = g_strsplit_set (buffer, "=;,", -1); str_colon = g_strconcat (parse_header_list[0], ":", NULL); temp_header_details.header_type_value = g_string_new(""); if (temp_header_details.header_type_value) { -- cgit v1.2.3