mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 16:06:16 +01:00
glib: documentation of GSourceFuncs
Only finalize has a comment to indicate that it can be NULL However, prepare and check can both be NULL too. Fixes: 1864
This commit is contained in:
parent
2549187b18
commit
15e3b9e219
@ -264,8 +264,8 @@ typedef void (*GSourceDummyMarshal) (void);
|
||||
struct _GSourceFuncs
|
||||
{
|
||||
gboolean (*prepare) (GSource *source,
|
||||
gint *timeout_);
|
||||
gboolean (*check) (GSource *source);
|
||||
gint *timeout_);/* Can be NULL */
|
||||
gboolean (*check) (GSource *source);/* Can be NULL */
|
||||
gboolean (*dispatch) (GSource *source,
|
||||
GSourceFunc callback,
|
||||
gpointer user_data);
|
||||
|
Loading…
Reference in New Issue
Block a user