Commit d9cd98b4 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

gstdoc-scangobj: Always use format strings for printf-like functions, even if...

gstdoc-scangobj: Always use format strings for printf-like functions, even if they just print a string. Fixes bug #53...

Original commit message from CVS:
* gstdoc-scangobj:
Always use format strings for printf-like functions, even if they just
print a string. Fixes bug #536981.
parent 17fe513b
2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
* gstdoc-scangobj:
Always use format strings for printf-like functions, even if they just
print a string. Fixes bug #536981.
2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
* gtk-doc-plugins.mak:
......
......@@ -927,7 +927,7 @@ output_hierarchy (FILE *fp,
for (i = 0; i < level; i++)
fprintf (fp, " ");
fprintf (fp, g_type_name (type));
fprintf (fp, "%s", g_type_name (type));
fprintf (fp, "\\n");
children = g_type_children (type, &n_children);
......@@ -979,7 +979,7 @@ output_interfaces (FILE *fp,
if (n_interfaces > 0)
{
fprintf (fp, g_type_name (type));
fprintf (fp, "%s", g_type_name (type));
for (i=0; i < n_interfaces; i++)
fprintf (fp, " %s", g_type_name (interfaces[i]));
fprintf (fp, "\\n");
......@@ -1024,7 +1024,7 @@ output_prerequisites (FILE *fp,
if (n_prerequisites > 0)
{
fprintf (fp, g_type_name (type));
fprintf (fp, "%s", g_type_name (type));
for (i=0; i < n_prerequisites; i++)
fprintf (fp, " %s", g_type_name (prerequisites[i]));
fprintf (fp, "\\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment