aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/email-custom-header
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-06-06 23:12:53 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-06-06 23:12:53 +0800
commit4503c052d04822edb3105e639b824ed88013a810 (patch)
treea158d5a45ad252370444729fa5ae97bd17362669 /plugins/email-custom-header
parent6efe8d58cdb61225ce942181d0d2a0ae3227ed5f (diff)
downloadgsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.gz
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.bz2
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.lz
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.xz
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')
-rw-r--r--plugins/email-custom-header/email-custom-header.c8
-rw-r--r--plugins/email-custom-header/email-custom-header.h2
2 files changed, 4 insertions, 6 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) {
diff --git a/plugins/email-custom-header/email-custom-header.h b/plugins/email-custom-header/email-custom-header.h
index b32d598054..98b67495a6 100644
--- a/plugins/email-custom-header/email-custom-header.h
+++ b/plugins/email-custom-header/email-custom-header.h
@@ -20,7 +20,7 @@
#ifndef __EMAIL_CUSTOM_HEADEROPTIONS_DIALOG_H__
#define __EMAIL_CUSTOM_HEADEROPTIONS_DIALOG_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#define EMAIL_CUSTOM_HEADER_OPTIONS_DIALOG (epech_dialog_get_type ())
#define EMAIL_CUSTOM_HEADEROPTIONS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMAIL_CUSTOM_HEADER_OPTIONS_DIALOG, CustomHeaderOptionsDialog))