Fixed headers. Moved the .h associated with each .c to the top of the list

2001-04-04  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-model-uri.c, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/e-text/e-text-event-processor.c,
	gal/util/e-xml-utils.c, gal/widgets/e-cursors.c,
	gal/widgets/e-cursors.h: Fixed headers.  Moved the .h associated
	with each .c to the top of the list of included files.

	* gal/util/e-util.h: Removed the bonobo-xobject.h header here.

	* gal/util/e-xml-utils.c: Replaced strcasecmp with g_strcasecmp.

	* gal/widgets/e-canvas-vbox.c: Make this work even if the item is
	destroyed after the vbox.

	* gal/widgets/e-categories.c (do_parse_categories): Made this
	translate using e_utf8_from_locale string as it should.

svn path=/trunk/; revision=9175
This commit is contained in:
Christopher James Lahey
2001-04-04 12:25:55 +00:00
committed by Chris Lahey
parent 48200fbd57
commit 7957a3085c
9 changed files with 27 additions and 14 deletions

View File

@ -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);