Pixmap files don't load in Windows lately
| From: | Steph | Date: | Fri, 12 Oct 2001 17:08:35 +0000 |
| Subject: | Pixmap files don't load in Windows lately | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-105@lists.php.net to get a copy of this message | ||
I've had problems loading pixmaps from files over the last couple of binary releases - they
load fine from data. It's as if they're not found ... this happens both in my baby glade
file and in gtk.php, with xpm files that work fine in Glade itself (ie they're not corrupted)
and that used to work fine in older releases of PHP-GTK.
err msg via my glade file is:
Gdk-CRITICAL **: file gdkdraw.c: line 328 (gdk_draw_drawable): assertion `src !
NULL' failed
err msg via gtk.php is:
<b>Warning</b>: pixmap_create_from_xpm() cannot load pixmap in <b>C:\php4\dev\
gtk.php</b> on line <b>847</b><br />
<br />
<b>Warning</b>: gtkpixmap() expects argument 1 to be GdkPixmap, null given in
<b>C:\php4\dev\gtk.php</b> on line <b>848</b><br />
<br />
<b>Warning</b>: pack_start() expects argument 1 to be GtkWidget, null given in
<b>C:\php4\dev\gtk.php</b> on line <b>852</b><br />
<br />
<b>Fatal error</b>: Call to a member function on a non-object in <b>C:\php4\dev
\gtk.php</b> on line <b>854</b><br />
C:\php4\dev\gtk.php has been running