container: Fix the marshaller for ::child-notify

The marshaller was defined as OBJECT,OBJECT,PARAM but the signal
definition used only two arguments. Since the signal never worked
and we never got any report about it, nobody could be possibly
using the ::child-notify signal.
This commit is contained in:
Emmanuele Bassi 2010-10-03 15:12:01 +01:00
parent 96db215ed3
commit 19b93a94ae
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ clutter_container_base_init (gpointer g_iface)
G_SIGNAL_RUN_FIRST | G_SIGNAL_DETAILED, G_SIGNAL_RUN_FIRST | G_SIGNAL_DETAILED,
G_STRUCT_OFFSET (ClutterContainerIface, child_notify), G_STRUCT_OFFSET (ClutterContainerIface, child_notify),
NULL, NULL, NULL, NULL,
_clutter_marshal_VOID__OBJECT_OBJECT_PARAM, _clutter_marshal_VOID__OBJECT_PARAM,
G_TYPE_NONE, 2, G_TYPE_NONE, 2,
CLUTTER_TYPE_ACTOR, G_TYPE_PARAM); CLUTTER_TYPE_ACTOR, G_TYPE_PARAM);

View File

@ -12,7 +12,7 @@ VOID:INT,INT,INT,INT
VOID:OBJECT VOID:OBJECT
VOID:OBJECT,FLOAT,FLOAT VOID:OBJECT,FLOAT,FLOAT
VOID:OBJECT,FLOAT,FLOAT,FLAGS VOID:OBJECT,FLOAT,FLOAT,FLAGS
VOID:OBJECT,OBJECT,PARAM VOID:OBJECT,PARAM
VOID:OBJECT,POINTER VOID:OBJECT,POINTER
VOID:POINTER VOID:POINTER
VOID:STRING,BOOLEAN,BOOLEAN VOID:STRING,BOOLEAN,BOOLEAN