aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-text-event-processor.c2
-rw-r--r--e-util/e-util.h1
-rw-r--r--e-util/e-xml-utils.c12
3 files changed, 8 insertions, 7 deletions
diff --git a/e-util/e-text-event-processor.c b/e-util/e-text-event-processor.c
index edcaf9b05b..6449b23463 100644
--- a/e-util/e-text-event-processor.c
+++ b/e-util/e-text-event-processor.c
@@ -19,8 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
-#include <gtk/gtksignal.h>
#include "e-text-event-processor.h"
+#include <gtk/gtksignal.h>
static void e_text_event_processor_init (ETextEventProcessor *card);
static void e_text_event_processor_class_init (ETextEventProcessorClass *klass);
diff --git a/e-util/e-util.h b/e-util/e-util.h
index b960434421..3e861ed673 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -4,7 +4,6 @@
#include <sys/types.h>
#include <glib.h>
#include <gtk/gtktypeutils.h>
-#include <bonobo/bonobo-xobject.h>
#ifdef __cplusplus
extern "C" {
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index 95fcc86bb4..e25e2dc497 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -21,14 +21,16 @@
*/
#include <config.h>
+
+#include "e-xml-utils.h"
+
+#include "gal/util/e-i18n.h"
+#include <glib.h>
#include <locale.h>
#include <math.h>
-#include <string.h>
#include <gnome-xml/parser.h>
#include <gnome-xml/xmlmemory.h>
#include <libgnome/libgnome.h>
-#include "gal/util/e-i18n.h"
-#include "e-xml-utils.h"
xmlNode *
e_xml_get_child_by_name (const xmlNode *parent, const xmlChar *child_name)
@@ -260,9 +262,9 @@ e_xml_get_bool_prop_by_name_with_default(const xmlNode *parent, const xmlChar *p
prop = xmlGetProp ((xmlNode *) parent, prop_name);
if (prop != NULL) {
- if (strcasecmp (prop, "true") == 0) {
+ if (g_strcasecmp (prop, "true") == 0) {
ret_val = TRUE;
- } else if (strcasecmp (prop, "false") == 0) {
+ } else if (g_strcasecmp (prop, "false") == 0) {
ret_val = FALSE;
}
xmlFree(prop);