]> Pileus Git - ~andy/gtk/commit
Check properly whether the XPM module has already been loaded
authorHavoc Pennington <hp@pobox.com>
Wed, 27 Oct 1999 18:55:00 +0000 (18:55 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 27 Oct 1999 18:55:00 +0000 (18:55 +0000)
commit54f017171fefee078ad36a4d2a6c67622c8f57de
tree0bb7951e213bc386a7bb7cff841c729e402eba84
parent2ec115ea801002eb68b7881433a17c5810605a80
Check properly whether the XPM module has already been loaded

1999-10-27  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Check
properly whether the XPM module has already been loaded
(gdk_pixbuf_new_from_file): Check properly if loader module
was already loaded (was checking if load symbol was present
in order to decide whether to re-load; should check module !=
NULL, then load != NULL)
(image_handler_load): Check in present working directory,
makes it easier to debug for now
(file_formats): This array initializer was seriously on crack,
was assigning a function pointer to a GModule*

* src/testpixbuf.c (main): Change type of pixbuf_loader to GdkPixbufLoader*

* src/io-png.c: Progressive loading stuff compiles, untested.
demos/testpixbuf.c
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/io-png.c