mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add g_source_set_dummy_callback()
Use g_source_set_closure() and g_close_set_meta_marshal() to allow setting a do-nothing callback on any source. https://bugzilla.gnome.org/show_bug.cgi?id=634239
This commit is contained in:
@@ -27,8 +27,10 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
void g_source_set_closure (GSource *source,
|
||||
GClosure *closure);
|
||||
void g_source_set_closure (GSource *source,
|
||||
GClosure *closure);
|
||||
|
||||
void g_source_set_dummy_callback (GSource *source);
|
||||
|
||||
GType g_io_channel_get_type (void);
|
||||
GType g_io_condition_get_type (void);
|
||||
|
Reference in New Issue
Block a user