patch to gtk-doc



Hello!!

I'm trying to compile libglade 0.15, and it faults while generating
documentation, using CVS gtk-doc. I've traced the problem to
gtkdoc-scanobj. The switch statement in get_type_name is missing a "}". =)

The attached little patch to CVS seems to fix it, but the switch statement
still doesn't have a default case, and I don't know what would had.


	Saludos!
	Greetings!

-- 
Name:  Arturo Tena
email: arturo directmail org
ICQ:   63292893
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtk-doc/ChangeLog,v
retrieving revision 1.48
diff -u -p -r1.48 ChangeLog
--- ChangeLog	2000/12/10 16:39:58	1.48
+++ ChangeLog	2000/12/19 06:10:28
@@ -1,3 +1,9 @@
+2000-12-10  Arturo Tena  <arturo directmail org>
+
+	* gtkdoc-scanobj.in (get_type_name): 
+	* gtkdoc-scangobj.in (get_type_name): fixed syntax error: forgotten
+	to close a switch statement.
+
 2000-12-10  Damon Chaplin  <damon helixcode com>
 
 	* gtk-doc.spec.in: added spec.in file from John Gotts
Index: gtkdoc-scangobj.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-scangobj.in,v
retrieving revision 1.6
diff -u -p -r1.6 gtkdoc-scangobj.in
--- gtkdoc-scangobj.in	2000/12/10 16:39:58	1.6
+++ gtkdoc-scangobj.in	2000/12/19 06:10:30
@@ -375,6 +375,7 @@ get_type_name (GtkType type, gboolean * 
        See the GtkArg struct in gtktypeutils.h and gtkargcollector.c.
        Fortunately I doubt anything uses these as signal args. */
     return "gpointer";
+  }
 
   /* For all GtkObject subclasses we can use the class name with a "*",
      e.g. 'GtkWidget *'. */
Index: gtkdoc-scanobj.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-scanobj.in,v
retrieving revision 1.7
diff -u -p -r1.7 gtkdoc-scanobj.in
--- gtkdoc-scanobj.in	2000/12/10 16:39:58	1.7
+++ gtkdoc-scanobj.in	2000/12/19 06:10:31
@@ -372,6 +372,7 @@ get_type_name (GtkType type, gboolean * 
        See the GtkArg struct in gtktypeutils.h and gtkargcollector.c.
        Fortunately I doubt anything uses these as signal args. */
     return "gpointer";
+  }
 
   /* For all GtkObject subclasses we can use the class name with a "*",
      e.g. 'GtkWidget *'. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]