Do not use G_SIGNAL_TYPE_STATIC_SCOPE, since the item may be removed and freed during signal emission

This commit is contained in:
Yevgen Muntyan 2006-06-26 07:11:22 -05:00
parent 2e1796af90
commit 3c9882beba

View File

@ -139,7 +139,7 @@ moo_history_list_class_init (MooHistoryListClass *klass)
NULL, NULL, NULL, NULL,
_moo_marshal_VOID__BOXED_POINTER, _moo_marshal_VOID__BOXED_POINTER,
G_TYPE_NONE, 2, G_TYPE_NONE, 2,
MOO_TYPE_HISTORY_LIST_ITEM | G_SIGNAL_TYPE_STATIC_SCOPE, MOO_TYPE_HISTORY_LIST_ITEM,
G_TYPE_POINTER); G_TYPE_POINTER);
signals[CHANGED] = signals[CHANGED] =