mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +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
@@ -123,7 +123,7 @@ g_action_group_default_init (GActionGroupInterface *class)
|
||||
G_STRUCT_OFFSET (GActionGroupInterface,
|
||||
action_enabled_changed),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_generic,
|
||||
NULL,
|
||||
G_TYPE_NONE, 2,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_BOOLEAN);
|
||||
@@ -147,7 +147,7 @@ g_action_group_default_init (GActionGroupInterface *class)
|
||||
G_STRUCT_OFFSET (GActionGroupInterface,
|
||||
action_state_changed),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_generic,
|
||||
NULL,
|
||||
G_TYPE_NONE, 2,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_VARIANT);
|
||||
|
Reference in New Issue
Block a user