aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-04 20:25:55 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-04 20:25:55 +0800
commit7957a3085c1aabf7d7b3c6820a1d9eb496cc3a96 (patch)
treee39dc1415412a114bea07df4ea8897cfcdd4e816 /e-util
parent48200fbd57c44325d7aa35f9d4c4fcc477ce1f9c (diff)
downloadgsoc2013-evolution-7957a3085c1aabf7d7b3c6820a1d9eb496cc3a96.tar.gz
gsoc2013-evolution-7957a3085c1aabf7d7b3c6820a1d9eb496cc3a96.tar.zst
gsoc2013-evolution-7957a3085c1aabf7d7b3c6820a1d9eb496cc3a96.zip
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
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);
eebsd-ports-gnome/commit/editors/nano?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=9e5a63cd71947b5363d11ae865fc5330aad15528'>Trim the headers in the ports I maintain.eadler2012-10-061-5/+1 * Don't support pre 7.1 anymore.eadler2012-06-101-5/+0 * - Another index fixmiwi2011-11-071-1/+1 * - Get rid FreeBSD 6 supportmiwi2011-11-071-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * - change the email address I use to maintain portseadler2011-08-221-1/+1 * - change the email address I use to maintain portseadler2011-08-221-1/+1 * - Update to 2.2.6pav2010-12-022-4/+3 * - Update to 2.2.5sahil2010-08-103-5/+5 * - Update maintainer's email addresssahil2010-07-121-1/+1 * - Add licencemiwi2010-06-061-0/+2 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-0/+1 * - Update to 2.2.4tabthorpe2010-04-273-5/+6 * - Update to 2.2.3miwi2010-02-122-4/+4 * - Update to 2.2.2wen2010-01-202-4/+4 * - Update to 2.2.1miwi2009-12-135-46/+4 * Update to 2.2.0 and pass maintainership to Eitan Adler.naddy2009-12-027-49/+79 * Fix segfault on 8.0.naddy2009-08-302-0/+15 * Mark MAKE_JOBS_SAFE for parallel building.naddy2009-03-261-0/+1 * Update to 2.0.9: translation updates.naddy2008-10-132-4/+4 * Update to 2.0.8, which incorporates some small bug fixes.naddy2008-08-262-5/+4 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Fix pkg-plist if WITHOUT_NLS is set (there are no french man pages).naddy2008-08-152-5/+5 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * Update to 2.0.7, which has miscellaneous bug fixes and translation updates.naddy2008-01-163-4/+5 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-2/+1 * Update to 2.0.6. Changes in this release:naddy2007-04-272-4/+4 * Update to 2.0.5. Changes in this release:naddy2007-04-232-4/+4 * * Update to 2.0.4. Changes in this release:naddy2007-04-102-6/+14 * Update to 2.0.3: cosmetic changes only.naddy2007-02-014-19/+18 * Remove message catalog directory.naddy2007-01-152-0/+2 * Update to 2.0.2, which brings miscellaneous bug fixes.naddy2006-12-222-4/+4 * Update to 2.0.1. Improvements and new features:naddy2006-12-168-69/+114 * Remove USE_REINPLACE from all categories starting with Eedwin2006-05-071-1/+0