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
@@ -275,7 +275,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GMountOperationClass, ask_password),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_generic,
|
||||
NULL,
|
||||
G_TYPE_NONE, 4,
|
||||
G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_ASK_PASSWORD_FLAGS);
|
||||
|
||||
@@ -298,7 +298,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GMountOperationClass, ask_question),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_generic,
|
||||
NULL,
|
||||
G_TYPE_NONE, 2,
|
||||
G_TYPE_STRING, G_TYPE_STRV);
|
||||
|
||||
@@ -367,7 +367,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GMountOperationClass, show_processes),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_generic,
|
||||
NULL,
|
||||
G_TYPE_NONE, 3,
|
||||
G_TYPE_STRING, G_TYPE_ARRAY, G_TYPE_STRV);
|
||||
|
||||
|
Reference in New Issue
Block a user