Re: [PHP-GTK-DEV] Clone hook - segfault is bad, doc'd or not
[email protected] (Bob Majdak Jr)
| Newsgroups | php.gtk.dev |
|---|---|
| Organization | KateOS |
| Message-ID | <[email protected]> |
We made talk about it on IRC, I post here so others know where I stand. (LOL) Anyway I agree, E_ERROR it instead of Segfaulting it. Cloning is useless in this application. -- Bob Majdak Jr KateOS Rofflecopter Pilot http://www.kateos.org Elizabeth M Smith wrote: > Hello, > > I was digging through the bugs and noticed the "segfault on clone" issue > was still there. I've been thinking that we should just hook the clone > object handler and throw an exception/ fatal error - that way people > know that you can't clone gtk objects and we don't let the engine go boom. > > Any opinions on the subject? (it'd fix the bug too ;) > > Thanks, > Elizabeth >