diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-06-06 23:12:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-06-06 23:12:53 +0800 |
commit | 4503c052d04822edb3105e639b824ed88013a810 (patch) | |
tree | a158d5a45ad252370444729fa5ae97bd17362669 /plugins/email-custom-header/email-custom-header.c | |
parent | 6efe8d58cdb61225ce942181d0d2a0ae3227ed5f (diff) | |
download | gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.gz gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.zst gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.zip |
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606
Diffstat (limited to 'plugins/email-custom-header/email-custom-header.c')
-rw-r--r-- | plugins/email-custom-header/email-custom-header.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <string.h> -#include <glib.h> -#include <gtk/gtksignal.h> -#include <gtk/gtkcombobox.h> -#include <gtk/gtktable.h> #include <glib/gi18n.h> #include <gconf/gconf-client.h> #include <e-util/e-error.h> @@ -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) { |