Il giorno Fri, 17 Jun 2011 13:09:07 -0500
Michael Cronenworth <m...@cchtml.com> ha scritto:

> Nicola Fontana on 06/17/2011 12:29 PM wrote:
> > AFAICT there is no such difference between platforms: the documentation
> > explicitely requires a gboolean [1]. I think your program was working on
> > Linux only because of a coincidence or something else outside of the
> > GTK+ scope.
> 
> This could be attributed to my bad experience with GTK examples showing 
> void return types in callbacks.

You have both. Basically in case of events you have to return a
gboolean [1] but for other signals the callback should usually be
void. Just check the signature of every callback in the docs to
be sure.

Ciao.
-- 
Nicola

[1] http://developer.gnome.org/gtk-tutorial/2.90/x182.html
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to