|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
#45185 [NEW]: creating a GtklistStoreFrom: matt at deeks dot biz
Operating system: Win XP sp2 PHP version: 5.2.6 PHP Bug Type: PHP-GTK related Bug description: creating a GtklistStore 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 bug report at http://bugs.php.net/?id=45185&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45185&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45185&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45185&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45185&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45185&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45185&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45185&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45185&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45185&r=support Expected behavior: http://bugs.php.net/fix.php?id=45185&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45185&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45185&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45185&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45185&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45185&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45185&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45185&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45185&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45185&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45185&r=mysqlcfg -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: #45185 [NEW]: creating a GtklistStoreTry with types values ... http://gtk.php.net/manual/en/gtk.enum.type.php an
one question, what version of PHP-GTK do you use? On Thu, Jun 5, 2008 at 1:51 PM, matt at deeks dot biz < php-gtk-dev@...> wrote: > From: matt at deeks dot biz > Operating system: Win XP sp2 > PHP version: 5.2.6 > PHP Bug Type: PHP-GTK related > Bug description: creating a GtklistStore > > 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 bug report at http://bugs.php.net/?id=45185&edit=1 > -- > Try a CVS snapshot (PHP 5.2): > http://bugs.php.net/fix.php?id=45185&r=trysnapshot52 > Try a CVS snapshot (PHP 5.3): > http://bugs.php.net/fix.php?id=45185&r=trysnapshot53 > Try a CVS snapshot (PHP 6.0): > http://bugs.php.net/fix.php?id=45185&r=trysnapshot60 > Fixed in CVS: > http://bugs.php.net/fix.php?id=45185&r=fixedcvs > Fixed in release: > http://bugs.php.net/fix.php?id=45185&r=alreadyfixed > Need backtrace: > http://bugs.php.net/fix.php?id=45185&r=needtrace > Need Reproduce Script: > http://bugs.php.net/fix.php?id=45185&r=needscript > Try newer version: > http://bugs.php.net/fix.php?id=45185&r=oldversion > Not developer issue: > http://bugs.php.net/fix.php?id=45185&r=support > Expected behavior: > http://bugs.php.net/fix.php?id=45185&r=notwrong > Not enough info: > http://bugs.php.net/fix.php?id=45185&r=notenoughinfo > Submitted twice: > http://bugs.php.net/fix.php?id=45185&r=submittedtwice > register_globals: > http://bugs.php.net/fix.php?id=45185&r=globals > PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45185&r=php4 > Daylight Savings: http://bugs.php.net/fix.php?id=45185&r=dst > IIS Stability: http://bugs.php.net/fix.php?id=45185&r=isapi > Install GNU Sed: > http://bugs.php.net/fix.php?id=45185&r=gnused > Floating point limitations: http://bugs.php.net/fix.php?id=45185&r=float > No Zend Extensions: > http://bugs.php.net/fix.php?id=45185&r=nozend > MySQL Configuration Error: > http://bugs.php.net/fix.php?id=45185&r=mysqlcfg > > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > |
|
|
#45185 [Opn->Bgs]: creating a GtklistStore ID: 45185
Updated by: auroraeosrose@... 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 -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
| Free Forum Powered by Nabble | Forum Help |