From 309f680d323f25a83f0a529e499f84f301708e79 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 22 May 2009 01:23:29 +0100 Subject: [PATCH] [texture] size-change closure is now VOID:FLOAT,FLOAT Now that everything is float, the marsharlling function of the size-change signal should reflect that fact. Signed-off-by: Emmanuele Bassi --- clutter/clutter-marshal.list | 1 + clutter/clutter-texture.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-marshal.list b/clutter/clutter-marshal.list index d68ce4b27..995c5c712 100644 --- a/clutter/clutter-marshal.list +++ b/clutter/clutter-marshal.list @@ -6,6 +6,7 @@ VOID:BOXED VOID:INT VOID:INT64,INT64,FLOAT,BOOLEAN VOID:INT,INT +VOID:FLOAT,FLOAT VOID:INT,INT,INT,INT VOID:OBJECT VOID:OBJECT,OBJECT,PARAM diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 083b4bbef..55d3fda24 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -1096,9 +1096,9 @@ clutter_texture_class_init (ClutterTextureClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ClutterTextureClass, size_change), NULL, NULL, - clutter_marshal_VOID__INT_INT, + clutter_marshal_VOID__FLOAT_FLOAT, G_TYPE_NONE, - 2, G_TYPE_INT, G_TYPE_INT); + 2, G_TYPE_FLOAT, G_TYPE_FLOAT); /** * ClutterTexture::pixbuf-change: * @texture: the texture which received the signal