Re: well, I cheated to make it build so I should expect this...
| From: | epplestun | Date: | Tue, 20 May 2003 07:22:10 +0000 |
| Subject: | Re: well, I cheated to make it build so I should expect this... | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-476@lists.php.net to get a copy of this message | ||
http://talks.php.net/show/kongress-gtk-csg/20
here you have a good script to
test gdkpixbuf :-)
----- Original Message -----
From: "Steph" <sfox@php.net>
To: "Frank M. Kromann" <frank@kromann.info>
Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net>
Sent: Tuesday, May 20, 2003 6:02 AM
Subject: [PHP-GTK-DEV] well, I cheated to make it build so I should expect
this...
> (pixbuf.php:4294570651): GLib-GObject-CRITICAL **:
> gtype.c:1806:g_type_register_static(): initialization assertion failed,
> use g_type_init() prior to this function
>
> (pixbuf.php:4294570651): GLib-GObject-CRITICAL **: file gobject.c: line
> 585 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
> C:\php4\test\pixbuf.php has been running
>
> All I've done is added in Frank's changes from an earlier private
> exchange, added the 4 remaining guilty parties:
>
> gdk_pixbuf_get_from_drawable
> gdk_pixbuf_finalize
> gdk_pixbuf_render_threshold_alpha
> gdk_pixbuf_render_pixmap_and_mask
>
> to 'ignore' in overrides, and PHP_GTK_API'd gdk_window_new() in both the
> files that happens in (because it's also a drawable). I should add that
> the baby .dll doesn't 'see' anything in the system path and is demanding
> that everything (down to and including the relevant jpeg.dll and
> png.dll) be right there next to it before it stops complaining about
> existing at all, I know not why.
>
> I don't have any working gdkpixbuf scripts - if anyone with nix has a
> simple one that works on their box, it'd be good to see it now - so I
> just tried to create a new pixbuf object in a window (which may be wrong
> in itself, but I suspect that isn't the problem somehow).
>
> Clues, anyone?
>
> - Steph
>
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>