Re: ext/scintilla/gen_scintilla.c in PHP_FUNCTION(gtk_scintilla_get_type)
| From: | Markus Fischer | Date: | Wed, 29 Aug 2001 15:26:05 +0000 |
| Subject: | Re: ext/scintilla/gen_scintilla.c in PHP_FUNCTION(gtk_scintilla_get_type) | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-31@lists.php.net to get a copy of this message | ||
On Wed, Aug 29, 2001 at 09:43:08AM -0500, Andrei Zmievski wrote :
> On Wed, 29 Aug 2001, Markus Fischer wrote:
> > I just wanted to commit a manual fix when I saw this is also true
> > for some gtk+/gen_gtk.c functions. They have no overrides so its
> > possible from the generator and you want to fix it there?
> Can you give some examples? I think all constructors have
> php_gtk_invalidate() in them..
gtk_item_factory_new
gtk_adjustment_new
gtk_tooltips_new
gtk_vseparator_new
gtk_hseparator_new
gtk_vruler_new
gtk_hruler_new
gtk_vscrollbar_new
gtk_hscrollbar_new
gtk_vscale_new
gtk_hscale_new
gtk_progress_bar_new_with_adjustment
gtk_preview_new
gtk_pixmap_new
gtk_arrow_new
gtk_label_new
gtk_accel_label_new
gtk_text_new
gtk_entry_new
[..]
Err, I stopped now, the file was still at 39% only.
They have php_gtk_invalidate() but not in this if:
if (!wrapped_obj) {
php_error(E_WARNING, "%s(): could not create GtkEntry object",
get_active_function_name(TSRMLS_C));
return;
}
There it's missing everywhere.
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
-All your scripts are belong to Zend-