return type of GtkFunction



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.

Cheers,
--Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]