[tracker] Fixed some ttl_sgml build warnings
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Fixed some ttl_sgml build warnings
- Date: Thu, 11 Feb 2010 18:37:25 +0000 (UTC)
commit 1dc77ad770f18a305584c07b6e0430e9e5a50b65
Author: Martyn Russell <martyn lanedo com>
Date: Thu Feb 11 19:35:21 2010 +0100
Fixed some ttl_sgml build warnings
docs/tools/ttl_sgml.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/tools/ttl_sgml.c b/docs/tools/ttl_sgml.c
index 48c52b9..093569c 100644
--- a/docs/tools/ttl_sgml.c
+++ b/docs/tools/ttl_sgml.c
@@ -164,7 +164,7 @@ static void
print_sgml_explanation (FILE *f, const gchar *explanation_file)
{
gchar *raw_content;
- gint length;
+ gsize length;
if (explanation_file && g_file_test (explanation_file, G_FILE_TEST_EXISTS)) {
if (!g_file_get_contents (explanation_file, &raw_content, &length, NULL)) {
@@ -222,7 +222,7 @@ print_ontology_class (gpointer key, gpointer value, gpointer user_data)
g_fprintf (f, "<para>This class notifies about changes</para>\n");
}
if (def->deprecated) {
- g_fprintf (f, "<para>This class is deprecated</para>\n", id);
+ g_fprintf (f, "<para>This class is deprecated</para>\n");
}
g_fprintf (f, "</note>\n");
}
@@ -271,7 +271,7 @@ print_ontology_property (gpointer key, gpointer value, gpointer user_data)
if (def->deprecated) {
g_fprintf (f, "<note>\n");
g_fprintf (f, "<title>Note:</title>\n");
- g_fprintf (f, "<para>This property is deprecated</para>\n", id);
+ g_fprintf (f, "<para>This property is deprecated</para>\n");
g_fprintf (f, "</note>\n");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]