Merge branch 'benzea/mark-g-source-func' into 'master'

gmain: Mark G_SOURCE_FUNC as available in 2.58

See merge request GNOME/glib!1322
This commit is contained in:
Philip Withnall 2020-01-31 15:31:28 +00:00
commit afde4a2c72

View File

@ -188,7 +188,7 @@ typedef gboolean (*GSourceFunc) (gpointer user_data);
*
* Since: 2.58
*/
#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f)) GLIB_AVAILABLE_MACRO_IN_2_58
/**
* GChildWatchFunc: