Index: gtkdoc-scangobj.in
===================================================================
--- gtkdoc-scangobj.in	(revision 468)
+++ gtkdoc-scangobj.in	(working copy)
@@ -41,6 +41,6 @@
 my $PRINT_VERSION;
 my $PRINT_HELP;
-my $TYPE_INIT_FUNC="g_type_init ()";
+my $TYPE_INIT_FUNC="g_type_init(); g_type_class_ref(G_TYPE_OBJECT)";
 my $QUERY_CHILD_PROPERTIES;
 
 # --nogtkinit is deprecated, as it is the default now anyway.
     print "gtkdoc-scangobj version @VERSION@\n";
     print "\n--module=MODULE_NAME  Name of the doc module being parsed";
     print "\n--types=FILE          The name of the file to store the types in";
-    print "\n--type-init-func=FUNC The init function to call instead of g_type_init ()";
+    print "\n--type-init-func=FUNC The init function to call instead of g_type_init(); g_type_class_ref(G_TYPE_OBJECT)";
     print "\n--query-child-properties=FUNC A function that returns a list of child";
     print "\n                      properties for a class";
     print "\n--output-dir=DIRNAME  The directory where the results are stored";
