ID: 45185
Updated by: [email protected]
Reported By: matt at deeks dot biz
-Status: Open
+Status: Bogus
Bug Type: PHP-GTK related
Operating System: Win XP sp2
PHP Version: 5.2.6
New Comment:
Starting with PHP-GTK 2.0.0 the TYPE constants were moved from the
Gtk:: class to Gobject, so use Gobject::TYPE_STRING instead.
This is fixed in the new documentation, but it's not on the website yet
(we're migrating it to the new PHP manual format) and is also addressed
in the PHP-GTK changelog
http://gtk.php.net/changelog.php
It was also discussed on the mailing lists - please check the mailing
list archives, the irc channel, or other sources of help instead of
filing bugs for coding issues.
Previous Comments:
------------------------------------------------------------------------
[2008-06-05 11:51:18] matt at deeks dot biz
Description:
------------
When creating a GtkListStore I get an error
Reproduce code:
---------------
$store = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG);
Expected result:
----------------
the list store to be created
Actual result:
--------------
Fatal error: Undefined class constant 'TYPE_STRING'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45185&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.