Index: gtkdoc-mktmpl.in
===================================================================
RCS file: /cvs/gnome/gtk-doc/gtkdoc-mktmpl.in,v
retrieving revision 1.48
diff -u -u -r1.48 gtkdoc-mktmpl.in
--- gtkdoc-mktmpl.in	9 Dec 2005 09:07:39 -0000	1.48
+++ gtkdoc-mktmpl.in	23 Dec 2005 14:33:36 -0000
@@ -1248,10 +1249,9 @@
 
     my $object;
     foreach $object (@Objects) {
-	if ($object eq $name) {
+	if ($name =~ m/^$object(Class)?/) {
 	    return 1;
 	}
     }
     return 0;
 }
-

