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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Justin Martin-5
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);


--
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php