mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Pass in NULL instead of g_cclosure_marshal_generic
NULL is now a shortcut for g_cclosure_marshal_generic, so avoid referencing it directly. https://bugzilla.gnome.org/show_bug.cgi?id=654917
This commit is contained in:
committed by
Johan Dahlin
parent
fa2861e3b6
commit
ec98953e42
@@ -238,7 +238,7 @@ g_threaded_socket_service_class_init (GThreadedSocketServiceClass *class)
|
||||
g_signal_new ("run", G_TYPE_FROM_CLASS (class), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GThreadedSocketServiceClass, run),
|
||||
g_signal_accumulator_true_handled, NULL,
|
||||
g_cclosure_marshal_generic, G_TYPE_BOOLEAN,
|
||||
NULL, G_TYPE_BOOLEAN,
|
||||
2, G_TYPE_SOCKET_CONNECTION, G_TYPE_OBJECT);
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_THREADS,
|
||||
|
Reference in New Issue
Block a user