Remove redundant flags from signals.
This commit is contained in:
parent
a56bfd6087
commit
45aeda982b
|
@ -92,7 +92,7 @@ ld_document_class_init (LdDocumentClass *klass)
|
||||||
*/
|
*/
|
||||||
klass->changed_signal = g_signal_new
|
klass->changed_signal = g_signal_new
|
||||||
("changed", G_TYPE_FROM_CLASS (klass),
|
("changed", G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
|
G_SIGNAL_RUN_LAST,
|
||||||
G_STRUCT_OFFSET (LdDocumentClass, changed), NULL, NULL,
|
G_STRUCT_OFFSET (LdDocumentClass, changed), NULL, NULL,
|
||||||
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
|
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
|
||||||
|
|
||||||
|
|
|
@ -77,8 +77,8 @@ ld_library_class_init (LdLibraryClass *klass)
|
||||||
*/
|
*/
|
||||||
klass->changed_signal = g_signal_new
|
klass->changed_signal = g_signal_new
|
||||||
("changed", G_TYPE_FROM_CLASS (klass),
|
("changed", G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
|
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
|
||||||
0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
|
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (LdLibraryPrivate));
|
g_type_class_add_private (klass, sizeof (LdLibraryPrivate));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue