Generate consistent end tags.

* src/generate.c: Generate consistent end tags.

	* tests/*: Update
This commit is contained in:
Johan Dahlin 2005-05-13 02:54:03 +00:00 committed by Philip Withnall
parent b0fa1e8965
commit 02ef0d66f2

View File

@ -215,7 +215,7 @@ write_callable_info (const gchar *namespace,
} }
} }
g_fprintf (file, "/>\n"); g_fprintf (file, " />\n");
if (g_callable_info_get_n_args (info) > 0) if (g_callable_info_get_n_args (info) > 0)
{ {
@ -259,7 +259,7 @@ write_callable_info (const gchar *namespace,
if (g_arg_info_is_optional (arg)) if (g_arg_info_is_optional (arg))
g_fprintf (file, " optional=\"1\""); g_fprintf (file, " optional=\"1\"");
g_fprintf (file, "/>\n"); g_fprintf (file, " />\n");
g_base_info_unref ((GIBaseInfo *)arg); g_base_info_unref ((GIBaseInfo *)arg);
} }
@ -639,7 +639,7 @@ write_property_info (const gchar *namespace,
write_type_info (namespace, type, file); write_type_info (namespace, type, file);
g_fprintf (file, "\""); g_fprintf (file, "\"");
g_fprintf (file, "/>\n"); g_fprintf (file, " />\n");
} }
static void static void