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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 00:01:25 2020 UTC