Re: return type of GtkFunction



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]