Re: GtkDialog Part 2

From: Date: Sat, 21 Jul 2001 19:43:11 +0000
Subject: Re: GtkDialog Part 2
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2306@lists.php.net to get a copy of this message
> > Rich, you are a treasure source of interesting bugs. ;-) I do my best :) > This one was actually in the Zend engine and I've fixed it in CVS. OK, I've updated from CVS all of php, Zend, TSRM and php-gtk, and compiled eveything. Now I'm getting something new...completly unrelated to GtkDialog. There error I'm getting is: <br> <b>Fatal error</b>: Cannot create references to/from string offsets nor overloaded objects in <b>/home/rdp/rdp_projects/teak/compose_class.php</b> on line <b>55</b><br> the offending line looks like this: $this->send_button = &new GtkButton(); this is part of a class, looks someting like: Class Compose_Window extends GtkWindow { var $send_button; ..... function Compose_Window () { ..... $this->send_button = &new GtkButton(); ..... } } Is this not valid syntax ? This worked fine yesterday with 4.0.6 and current php-gtk. > Wonder if a note needs to be made in the FAQ or something about this, since > people might get bitten by it before 4.0.7 comes out. That's probably a good idea. thanks, --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#2306) next »