ClutterStage: Use non-generic marshaller for ::presented signal

This signal runs often, so it's better to use a direct marshaler.

https://bugzilla.gnome.org/show_bug.cgi?id=782344
This commit is contained in:
Carlos Garnacho 2017-04-30 20:50:28 +02:00
parent d6d01c85a6
commit 3887d25dbc
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ VOID:BOXED,FLAGS
VOID:INT VOID:INT
VOID:INT64,INT64,FLOAT,BOOLEAN VOID:INT64,INT64,FLOAT,BOOLEAN
VOID:INT,INT VOID:INT,INT
VOID:INT,POINTER
VOID:FLOAT,FLOAT VOID:FLOAT,FLOAT
VOID:INT,INT,INT,INT VOID:INT,INT,INT,INT
VOID:OBJECT VOID:OBJECT

View File

@ -2176,8 +2176,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
g_signal_new (I_("presented"), g_signal_new (I_("presented"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0, NULL, NULL,
NULL, NULL, NULL, _clutter_marshal_VOID__INT_POINTER,
G_TYPE_NONE, 2, G_TYPE_NONE, 2,
G_TYPE_INT, G_TYPE_POINTER); G_TYPE_INT, G_TYPE_POINTER);