Programming question



Hi all:

I'm not sure if this is the place to ask this. I created an extension and I receive this message:

    Too many arguments to method Clutter.Container.add_actor: expected 1, got 2

The line is this one:

this.appsContainer.add_actor(this.appsInnerContainer, {x_fill: true, y_fill: false, x_expand: false, y_expand: false});

But the funny thing is that it works. If I remove the second argument, the result isn't the same. And I'm unable to find the alternative in the API documentation.

So my question is: how should I write that to avoid that warning?

-- 
Nos leemos
		         RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]