mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
0152e0d6e2
commit
e7550f1c9c
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user