Return gboolean instead of int.

2000-03-29  Federico Mena Quintero  <federico@helixcode.com>

	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Return
	gboolean instead of int.
This commit is contained in:
Federico Mena Quintero 2000-03-29 19:54:29 +00:00 committed by Federico Mena Quintero
parent 0152e0d6e2
commit e7550f1c9c
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-03-29 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Return
gboolean instead of int.
2000-03-27 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c: Fix problem with

View File

@ -201,7 +201,7 @@ gdk_pixbuf_get_n_channels (GdkPixbuf *pixbuf)
*
* Return value: TRUE if it has an alpha channel, FALSE otherwise.
**/
int
gboolean
gdk_pixbuf_get_has_alpha (GdkPixbuf *pixbuf)
{
g_return_val_if_fail (pixbuf != NULL, -1);

View File

@ -88,7 +88,7 @@ struct _GdkPixbufAnimation {
ArtPixFormat gdk_pixbuf_get_format (GdkPixbuf *pixbuf);
int gdk_pixbuf_get_n_channels (GdkPixbuf *pixbuf);
int gdk_pixbuf_get_has_alpha (GdkPixbuf *pixbuf);
gboolean gdk_pixbuf_get_has_alpha (GdkPixbuf *pixbuf);
int gdk_pixbuf_get_bits_per_sample (GdkPixbuf *pixbuf);
guchar *gdk_pixbuf_get_pixels (GdkPixbuf *pixbuf);
int gdk_pixbuf_get_width (GdkPixbuf *pixbuf);