Remove redundant flags from signals.

This commit is contained in:
Přemysl Eric Janouch 2010-12-12 18:17:13 +01:00
parent a56bfd6087
commit 45aeda982b
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ ld_document_class_init (LdDocumentClass *klass)
*/
klass->changed_signal = g_signal_new
("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_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);

View File

@ -77,8 +77,8 @@ ld_library_class_init (LdLibraryClass *klass)
*/
klass->changed_signal = g_signal_new
("changed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
g_type_class_add_private (klass, sizeof (LdLibraryPrivate));
}