aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmltree.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-06-04 00:08:43 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2012-06-04 00:08:43 +0100
commit7a2a486ba0f90fef07c0a758ebdf36acc253e1a9 (patch)
tree2e8ea1211397a0a5f9ed8de3db3639cead3d0e2c /lib/xmltree.c
parent7de784c55f796f80523eac5fa25d6728048469b0 (diff)
Shut up a flood of GLib-related compiler warnings.
Diffstat (limited to 'lib/xmltree.c')
-rw-r--r--lib/xmltree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/xmltree.c b/lib/xmltree.c
index e2654579..74292be9 100644
--- a/lib/xmltree.c
+++ b/lib/xmltree.c
@@ -29,6 +29,9 @@
#include "xmltree.h"
+#define g_strcasecmp g_ascii_strcasecmp
+#define g_strncasecmp g_ascii_strncasecmp
+
static void xt_start_element( GMarkupParseContext *ctx, const gchar *element_name, const gchar **attr_names, const gchar **attr_values, gpointer data, GError **error )
{
struct xt_parser *xt = data;