From 48200fbd57c44325d7aa35f9d4c4fcc477ce1f9c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 4 Apr 2001 12:13:38 +0000 Subject: Fixed headers. 2001-04-04 Christopher James Lahey * e-table-config.c, e-table-item.c, e-table-memory.c, e-table-sort-info.c, e-table-specification.c, e-tree-sorted.c: Fixed headers. * e-table-config.c, e-table-specification.c: Replaced strcasecmp with g_strcasecmp. svn path=/trunk/; revision=9174 --- widgets/table/e-table-specification.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'widgets/table/e-table-specification.c') diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index 10866abc08..e4a7df56c9 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -9,13 +9,15 @@ * (C) 2000, 2001 Ximian, Inc. */ #include + +#include "e-table-specification.h" + #include #include #include #include #include "gal/util/e-util.h" #include "gal/util/e-xml-utils.h" -#include "e-table-specification.h" #define PARENT_TYPE (gtk_object_get_type ()) @@ -173,20 +175,20 @@ e_table_specification_load_from_node (ETableSpecification *specification, specification->selection_mode = GTK_SELECTION_MULTIPLE; temp = e_xml_get_string_prop_by_name (node, "selection-mode"); - if (temp && !strcasecmp (temp, "single")) { + if (temp && !g_strcasecmp (temp, "single")) { specification->selection_mode = GTK_SELECTION_SINGLE; - } else if (temp && !strcasecmp (temp, "browse")) { + } else if (temp && !g_strcasecmp (temp, "browse")) { specification->selection_mode = GTK_SELECTION_BROWSE; - } else if (temp && !strcasecmp (temp, "extended")) { + } else if (temp && !g_strcasecmp (temp, "extended")) { specification->selection_mode = GTK_SELECTION_EXTENDED; } g_free (temp); specification->cursor_mode = E_CURSOR_SIMPLE; temp = e_xml_get_string_prop_by_name (node, "cursor-mode"); - if (temp && !strcasecmp (temp, "line")) { + if (temp && !g_strcasecmp (temp, "line")) { specification->cursor_mode = E_CURSOR_LINE; - } else if (temp && !strcasecmp (temp, "spreadsheet")) { + } else if (temp && !g_strcasecmp (temp, "spreadsheet")) { specification->cursor_mode = E_CURSOR_SPREADSHEET; } g_free (temp); -- cgit v1.2.3