summaryrefslogtreecommitdiff
path: root/gdk/gdkrgb.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-03-06 20:19:11 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-03-06 20:19:11 +0000
commit285a25da0308d6eec35c5dedf2f252d0e02f8c15 (patch)
treee119b6e0c82f481ac2568d3ccc0a4d98813bea2d /gdk/gdkrgb.c
parentce58806c0d32a5065465a786b89e37bcc76f976c (diff)
downloadgtk+-285a25da0308d6eec35c5dedf2f252d0e02f8c15.tar.gz
Return gboolean, not gint. (#107664, Morten Welinder)
2003-03-06 Matthias Clasen <maclas@gmx.de> * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint. (#107664, Morten Welinder) * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): * gdk/x11/gdkfont-x11.c (gdk_font_equal): * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): Fix TRUE/1 and FALSE/0 confusion. (#107664, Morten Welinder) * io-gif.c (gif_read): Fix 0/FALSE confusion (#107664, Morten Welinder)
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r--gdk/gdkrgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 38cccf492d..8abcc2cf6c 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -207,7 +207,7 @@ gdk_rgb_make_colorcube_d (GdkRgbInfo *image_info, gulong *pixels,
/* Try installing a color cube of the specified size.
Make the colorcube and return TRUE on success */
-static gint
+static gboolean
gdk_rgb_try_colormap (GdkRgbInfo *image_info, gboolean force,
gint nr, gint ng, gint nb)
{