Re: return type of GtkFunction
- From: Owen Taylor <otaylor redhat com>
- To: Daniel Elstner <daniel elstner gmx net>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: return type of GtkFunction
- Date: 01 Nov 2001 16:55:12 -0500
Daniel Elstner <daniel elstner gmx net> writes:
> Hi,
>
> I'm wondering about the signature of GtkFunction:
>
> typedef gint (*GtkFunction) (gpointer data);
>
> Is there a particular reason why the return type is gint instead of
> gboolean? I admit that changing this would be rather cosmetic, but it
> would make the intention clearer.
Thanks, fixed.
Owen
Thu Nov 1 16:54:00 2001 Owen Taylor <otaylor redhat com>
* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
(Daniel Elstner).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]