From 61c2307387173c7af3d827f083aefc42fd747175 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Wed, 29 Nov 2000 16:25:36 +0000 Subject: [PATCH] touchups. touchups. --- gcompletion.h | 1 - glib/gcompletion.h | 1 - glib/gmarkup.c | 4 ++-- gmarkup.c | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gcompletion.h b/gcompletion.h index 6ad653384..83b243b90 100644 --- a/gcompletion.h +++ b/gcompletion.h @@ -39,7 +39,6 @@ typedef gchar* (*GCompletionFunc) (gpointer); /* GCompletion */ -typedef int (*GCompletionStrcmpFunc)(const char *s1, const char *s2); typedef int (*GCompletionStrncmpFunc)(const char *s1, const char *s2, size_t n); struct _GCompletion diff --git a/glib/gcompletion.h b/glib/gcompletion.h index 6ad653384..83b243b90 100644 --- a/glib/gcompletion.h +++ b/glib/gcompletion.h @@ -39,7 +39,6 @@ typedef gchar* (*GCompletionFunc) (gpointer); /* GCompletion */ -typedef int (*GCompletionStrcmpFunc)(const char *s1, const char *s2); typedef int (*GCompletionStrncmpFunc)(const char *s1, const char *s2, size_t n); struct _GCompletion diff --git a/glib/gmarkup.c b/glib/gmarkup.c index 58f9438c2..0160d8c6e 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -1263,8 +1263,8 @@ g_markup_parse_context_parse (GMarkupParseContext *context, if (context->parser->start_element) (* context->parser->start_element) (context, start_name, - (const gchar *)attr_names, - (const gchar *)attr_values, + (const gchar **)attr_names, + (const gchar **)attr_values, context->user_data, &tmp_error); diff --git a/gmarkup.c b/gmarkup.c index 58f9438c2..0160d8c6e 100644 --- a/gmarkup.c +++ b/gmarkup.c @@ -1263,8 +1263,8 @@ g_markup_parse_context_parse (GMarkupParseContext *context, if (context->parser->start_element) (* context->parser->start_element) (context, start_name, - (const gchar *)attr_names, - (const gchar *)attr_values, + (const gchar **)attr_names, + (const gchar **)attr_values, context->user_data, &tmp_error);