hi; On 28 November 2013 11:09, Chris Vine <ch...@cvine.freeserve.co.uk> wrote: > By the way, why not have your idle function return FALSE instead of > EXIT_SUCCESS? Both evaluate to 0, but returning FALSE is clearer. > EXIT_SUCCESS is a macro intended to provide a process return value > indicating successful execution of the whole process. (And could in > theory, though not in practice, be a value other than 0.)
GSourceFunc functions should return G_SOURCE_CONTINUE or G_SOURCE_REMOVE; those are aliases for boolean values, but are much, much clearer to read. ciao, Emmanuele. -- W: http://www.emmanuelebassi.name B: http://blogs.gnome.org/ebassi/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list