/* call-seq:
 *   window.size=( vector2 )
 *
 * Change the size of the rendering region of the window. 
 */
static VALUE Window_SetSize2( VALUE self, VALUE anArgument )
{
        VALUE argument = Vector2_ForceType( anArgument );
        sf::Window *object = NULL;
        Data_Get_Struct( self, sf::Window, object );
        VALUE argumentX = rb_funcall( argument, rb_intern( "x" ), 0 );
        VALUE argumentY = rb_funcall( argument, rb_intern( "y" ), 0 );
        object->SetSize( FIX2UINT( argumentX ), FIX2UINT( argumentY ) );
        return Qnil;
}