php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35878 GtkText()
Submitted: 2006-01-03 06:51 UTC Modified: 2006-01-09 05:23 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: jcohen at codeux dot com Assigned:
Status: Suspended Package: PHP-GTK related
PHP Version: 2.0.0-beta OS: Gentoo 2005.1-r1
Private report: No CVE-ID: None
 [2006-01-03 06:51 UTC] jcohen at codeux dot com
Description:
------------
Fatal error: Class 'GtkText' not found in...
Error does not appear on PHP-GTK 1.x but does appear on PHP-GTK 2 / CVS

Reproduce code:
---------------
<?php

$foo = &new GtkText();

?>

Expected result:
----------------
GtkText widget should appear

Actual result:
--------------
Fatal error: Class 'GtkText' not found in...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-09 03:34 UTC] jcohen at codeux dot com
This bug is because gtk 2 doesn't have the gtk 1.2 gtktext object but the gtktextview object.
 [2006-01-09 05:23 UTC] sfox@php.net
Hang on a minute.  You should subscribe to the php-gtk-dev list.  We're still trying to decide whether GtkText should be part of PHP-GTK 2 or not - given that it's part of GTK 2...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 01:01:30 2024 UTC