Re: gtk_image_new*() and GTK_IMAGE_EMPTY



On Sat, 28 Apr 2001, Vitaly Tishkov wrote:

> One more point though.
>
> I've looked into GdkImage.
>
> Docs for gdk_image_new() says
> "Returns : a new GdkImage, or NULL if the image could not be created. "
>
> gtk_image_new_from_file() _always_ returned not null even if the image can't be loaded
> (=created).

The image (GtkImage) could be created.  The image (file on the hard disk)
could not be loaded.  I think part of the confusion is from using the same
name for both things.

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]