Do not use G_SIGNAL_TYPE_STATIC_SCOPE, since the item may be removed and freed during signal emission
This commit is contained in:
parent
2e1796af90
commit
3c9882beba
@ -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] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user