svn: /phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/ docgen.php

[email protected] (Justin Martin) Thu, 18 Nov 2010 21:41:17 +0000
Newsgroups php.gtk.doc
Message-ID <[email protected]>
--7735ad6741cf26533da55e3a0500db3eff5c5b2d
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

frozenfire                               Thu, 18 Nov 2010 21:41:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=305526

Log:
Removed error suppression.
Fixed bug that was causing signals not to generate at all.

Changed paths:
    U   phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php

Modified: phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php
===================================================================
--- phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php	2010-11-18 21:18:47 UTC (rev 305525)
+++ phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php	2010-11-18 21:41:17 UTC (rev 305526)
@@ -614,7 +614,7 @@

    	if($OPTION["gtk"]) {
    		/* {FIELDS_LIST} */
-   		if(($class->isInstantiable() || $class->isInterface) && is_int($class->getConstant("gtype")) && $gtkfields = @GObject::list_properties($class->getConstant("gtype")) && !empty($gtkfields)) {
+   		if(($class->isInstantiable() || $class->isInterface) && is_int($class->getConstant("gtype")) && $gtkfields = GObject::list_properties($class->getConstant("gtype")) && !empty($gtkfields)) {
    			$ident = get_ident_size('FIELDS_LIST', $content);

    			$markup = "<classsynopsisinfo role=\"comment\">Fields</classsynopsisinfo>\n";
@@ -1005,7 +1005,7 @@
 						}
 						gen_docs($class->name, DOC_CLASS);

-						if(($class->isInstantiable() || $class->isInterface()) && $signals = @GObject::signal_list_ids($class->getConstant("gtype")) && !empty($signals)) foreach($signals as $signal) {
+						if(($class->isInstantiable() || $class->isInterface()) && $signals = GObject::signal_list_ids($class->getConstant("gtype"))) foreach($signals as $signal) {
 							$signal = GObject::signal_query($signal, $class->getConstant("gtype"));

 							write_doc($signal, DOC_SIGNAL);

--7735ad6741cf26533da55e3a0500db3eff5c5b2d--