gtk-doc r577 - trunk
- From: sdroege svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-doc r577 - trunk
- Date: Sat, 7 Jun 2008 08:30:38 +0000 (UTC)
Author: sdroege
Date: Sat Jun 7 08:30:37 2008
New Revision: 577
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=577&view=rev
Log:
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
Add "%s" format strings to printf-like functions when printing
a string. Fixes #536980.
Modified:
trunk/ChangeLog
trunk/gtkdoc-scangobj.in
trunk/gtkdoc-scanobj.in
Modified: trunk/gtkdoc-scangobj.in
==============================================================================
--- trunk/gtkdoc-scangobj.in (original)
+++ trunk/gtkdoc-scangobj.in Sat Jun 7 08:30:37 2008
@@ -834,7 +834,7 @@
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);
@@ -885,7 +885,7 @@
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");
@@ -930,7 +930,7 @@
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");
Modified: trunk/gtkdoc-scanobj.in
==============================================================================
--- trunk/gtkdoc-scanobj.in (original)
+++ trunk/gtkdoc-scanobj.in Sat Jun 7 08:30:37 2008
@@ -718,7 +718,7 @@
for (i = 0; i < level; i++)
fprintf (fp, " ");
- fprintf (fp, gtk_type_name (type));
+ fprintf (fp, "%s", gtk_type_name (type));
fprintf (fp, "\\n");
list = gtk_type_children_types (type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]